/* Bundled CSS - Generated automatically */

/* === core-variables.css === */
/**
 * NativeCore Framework - Core Variables
 * 
 * ⚠️ FRAMEWORK INTERNAL USE ONLY - DO NOT MODIFY ⚠️
 * 
 * These variables are reserved for NativeCore's built-in components.
 * All variables are prefixed with --nc- to prevent conflicts.
 * 
 * For your own components and customization, use variables.css instead.
 * 
 * Optional Theming: You can override framework colors by setting
 * --nc-theme-* variables in variables.css (see examples at bottom).
 */

:root {
    /* ============================================
       CORE BRAND COLORS (Framework Reserved)
       ============================================ */
    --nc-primary: var(--nc-theme-primary, #10b981);
    --nc-primary-light: var(--nc-theme-primary-light, #34d399);
    --nc-primary-dark: var(--nc-theme-primary-dark, #059669);
    --nc-secondary: var(--nc-theme-secondary, #3b82f6);
    --nc-accent: var(--nc-theme-accent, #0f172a);
    
    /* ============================================
       SEMANTIC COLORS
       ============================================ */
    --nc-success: #10b981;
    --nc-success-light: #34d399;
    --nc-success-dark: #059669;
    
    --nc-warning: #f59e0b;
    --nc-warning-light: #fbbf24;
    --nc-warning-dark: #d97706;
    
    --nc-danger: #ef4444;
    --nc-danger-light: #f87171;
    --nc-danger-dark: #dc2626;
    
    --nc-info: #3b82f6;
    --nc-info-light: #60a5fa;
    --nc-info-dark: #2563eb;
    
    /* ============================================
       NEUTRAL COLORS
       ============================================ */
    --nc-white: #ffffff;
    --nc-black: #000000;
    
    --nc-gray-50: #f8fafc;
    --nc-gray-100: #f1f5f9;
    --nc-gray-200: #e2e8f0;
    --nc-gray-300: #cbd5e1;
    --nc-gray-400: #94a3b8;
    --nc-gray-500: #64748b;
    --nc-gray-600: #475569;
    --nc-gray-700: #334155;
    --nc-gray-800: #1e293b;
    --nc-gray-900: #0f172a;
    
    /* ============================================
       TEXT COLORS
       ============================================ */
    --nc-text: #0f172a;
    --nc-text-secondary: #64748b;
    --nc-text-muted: #94a3b8;
    --nc-text-inverse: var(--nc-white);
    
    /* ============================================
       BACKGROUND COLORS
       ============================================ */
    --nc-bg: var(--nc-white);
    --nc-bg-secondary: var(--nc-gray-50);
    --nc-bg-tertiary: var(--nc-gray-100);
    --nc-bg-dark: var(--nc-gray-900);
    
    /* ============================================
       BORDER & DIVIDERS
       ============================================ */
    --nc-border: var(--nc-gray-200);
    --nc-border-dark: var(--nc-gray-300);
    --nc-divider: var(--nc-gray-100);
    
    /* ============================================
       GRADIENTS
       ============================================ */
    --nc-gradient-primary: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --nc-gradient-success: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --nc-gradient-danger: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    --nc-gradient-info: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    --nc-gradient-overlay: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.02) 100%);
    
    /* ============================================
       SHADOWS
       ============================================ */
    --nc-shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --nc-shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.08), 0 1px 2px 0 rgba(0, 0, 0, 0.04);
    --nc-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --nc-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --nc-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --nc-shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    --nc-shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
    
    /* Colored shadows for components */
    --nc-shadow-primary: 0 4px 12px rgba(16, 185, 129, 0.25);
    --nc-shadow-success: 0 4px 12px rgba(16, 185, 129, 0.25);
    --nc-shadow-danger: 0 4px 12px rgba(239, 68, 68, 0.25);
    
    /* ============================================
       TYPOGRAPHY
       ============================================ */
    --nc-font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --nc-font-family-mono: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, monospace;
    
    --nc-font-size-xs: 0.75rem;      /* 12px */
    --nc-font-size-sm: 0.875rem;     /* 14px */
    --nc-font-size-base: 1rem;       /* 16px */
    --nc-font-size-lg: 1.125rem;     /* 18px */
    --nc-font-size-xl: 1.25rem;      /* 20px */
    --nc-font-size-2xl: 1.5rem;      /* 24px */
    
    --nc-font-weight-normal: 400;
    --nc-font-weight-medium: 500;
    --nc-font-weight-semibold: 600;
    --nc-font-weight-bold: 700;
    
    --nc-line-height-tight: 1.25;
    --nc-line-height-normal: 1.5;
    --nc-line-height-relaxed: 1.75;
    
    /* ============================================
       SPACING SYSTEM
       ============================================ */
    --nc-spacing-xs: 0.25rem;    /* 4px */
    --nc-spacing-sm: 0.5rem;     /* 8px */
    --nc-spacing-md: 1rem;       /* 16px */
    --nc-spacing-lg: 1.5rem;     /* 24px */
    --nc-spacing-xl: 2rem;       /* 32px */
    --nc-spacing-2xl: 3rem;      /* 48px */
    
    /* ============================================
       BORDER RADIUS
       ============================================ */
    --nc-radius-sm: 0.25rem;     /* 4px */
    --nc-radius-md: 0.5rem;      /* 8px */
    --nc-radius-lg: 0.75rem;     /* 12px */
    --nc-radius-xl: 1rem;        /* 16px */
    --nc-radius-2xl: 1.5rem;     /* 24px */
    --nc-radius-full: 9999px;
    
    /* ============================================
       TRANSITIONS & ANIMATIONS
       ============================================ */
    --nc-transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --nc-transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --nc-transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
    
    --nc-ease-in: cubic-bezier(0.4, 0, 1, 1);
    --nc-ease-out: cubic-bezier(0, 0, 0.2, 1);
    --nc-ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    
    /* ============================================
       Z-INDEX SCALE
       ============================================ */
    --nc-z-base: 1;
    --nc-z-dropdown: 1000;
    --nc-z-sticky: 1020;
    --nc-z-fixed: 1030;
    --nc-z-modal-backdrop: 1040;
    --nc-z-modal: 1050;
    --nc-z-popover: 1060;
    --nc-z-tooltip: 1070;
    --nc-z-notification: 1080;
    
    /* ============================================
       COMPONENT-SPECIFIC
       ============================================ */
    
    /* Buttons */
    --nc-button-padding-sm: var(--nc-spacing-xs) var(--nc-spacing-md);
    --nc-button-padding-md: var(--nc-spacing-sm) var(--nc-spacing-lg);
    --nc-button-padding-lg: var(--nc-spacing-md) var(--nc-spacing-xl);
    --nc-button-radius: var(--nc-radius-md);
    
    /* Inputs */
    --nc-input-padding: var(--nc-spacing-sm) var(--nc-spacing-md);
    --nc-input-radius: var(--nc-radius-md);
    --nc-input-border: 1px solid var(--nc-border);
    --nc-input-focus-border: var(--nc-primary);
    
    /* Cards */
    --nc-card-padding: var(--nc-spacing-lg);
    --nc-card-radius: var(--nc-radius-lg);
    --nc-card-shadow: var(--nc-shadow-sm);
    
    /* Header */
    --nc-header-height: 70px;
    --nc-header-bg: var(--nc-bg);
    --nc-header-border: var(--nc-border);
    
    /* Sidebar */
    --nc-sidebar-width: 280px;
    --nc-sidebar-bg: var(--nc-bg);
    --nc-sidebar-border: var(--nc-border);
}

/* ============================================
   THEMING EXAMPLE (for developers)
   ============================================
   
   To customize the framework's primary color, add this to variables.css:
   
   :root {
     --nc-theme-primary: #your-color;
     --nc-theme-primary-light: #your-light-color;
     --nc-theme-primary-dark: #your-dark-color;
   }
   
   ============================================ */

/* === core.css === */


/**
 * NativeCore Framework - Core Styles
 * Default framework styling including modern scrollbars
 */

/* Modern Scrollbar Styling (All Browsers) */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.3) transparent;
}

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

*::-webkit-scrollbar-track {
    background: transparent;
}

*::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    transition: background 0.2s ease;
}

*::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.5);
}

/* Dark mode scrollbar */
@media (prefers-color-scheme: dark) {
    * {
        scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
    }
    
    *::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.2);
    }
    
    *::-webkit-scrollbar-thumb:hover {
        background: rgba(255, 255, 255, 0.3);
    }
}
/* Header — sticky grid item, spans both columns */
.app-header {
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    position: sticky;
    top: 0;
    z-index: 1002;
    width: 100%;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.app-header.scrolled {
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

.header-container {
    max-width: 100%;
    margin: 0 auto;
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-lg);
    padding: 0 var(--spacing-xl);
}

.header-left {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

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

.logo-mark {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.logo .logo-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.3px;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.app-header .nanc-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.4rem 0.85rem;
    border-radius: 6px;
    transition: color 0.15s ease, background 0.15s ease;
}

.app-header .nanc-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.app-header .nanc-link.active {
    color: #10b981;
    background: rgba(16, 185, 129, 0.12);
}

.header-right {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

/* Authenticated user pill */
.user-menu {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.user-name {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.875rem;
    font-weight: 500;
}

.header-logout-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.3rem 0.75rem;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.header-logout-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

/* Sign in button */
.header-login-btn {
    background: var(--gradient-primary);
    color: #fff;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.45rem 1.1rem;
    border-radius: 8px;
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.header-login-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* ============================================================
   APP LAYOUT — CSS Grid
   ============================================================ */

#app {
    display: grid;
    grid-template-areas:
        "header  header"
        "sidebar main";
    grid-template-rows: var(--header-height) 1fr;
    grid-template-columns: 250px 1fr;
    height: 100vh;
    overflow: hidden;
    transition: grid-template-columns var(--transition-base);
}

/* JS adds this class to #app when sidebar is collapsed */
#app.sidebar-collapsed {
    grid-template-columns: 64px 1fr;
}

/* No sidebar present (public shell) */
#app.no-sidebar {
    grid-template-areas:
        "header"
        "main";
    grid-template-columns: 1fr;
    grid-template-rows: var(--header-height) auto;
    min-height: 100vh;
    height: auto;
    overflow: visible;
}

#app.no-sidebar app-sidebar {
    display: none;
}

/* Grid area assignments */
.app-header   { grid-area: header; }
app-sidebar   { grid-area: sidebar; display: flex; flex-direction: column; }
.main-content { grid-area: main; min-width: 0; display: flex; flex-direction: column; align-items: stretch; }

.main-content {
    /*padding: var(--spacing-xl);*/
    overflow-y: auto;
    overflow-x: hidden;
}

.main-content .page {
    flex: 1;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

/* Public shell should use normal document flow so the footer sits after content. */
#app.no-sidebar .main-content {
    overflow: visible;
    min-height: calc(100vh - var(--header-height));
}

#app.no-sidebar .main-content .page {
    min-height: calc(100vh - var(--header-height) - 96px);
}

/* Keep footer at the bottom of the scroll area on short pages */
.main-content app-footer {
    margin-top: auto;
}

body.sidebar-enabled app-footer {
    display: none;
}

/* Persistent Sidebar */
.app-sidebar {
    flex: 1;
    width: 250px;
    background: #f8fafc;
    border-right: 1px solid #e2e8f0;
    z-index: 1001;
    overflow-x: hidden;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    transition: width var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.sidebar-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem 0.85rem;
    border-bottom: 1px solid #e2e8f0;
    overflow: visible;
    transition: padding var(--transition-base), border-color var(--transition-base);
}

.sidebar-branding {
    display: grid;
    gap: 0.15rem;
    min-width: 0;
    max-width: 150px;
    opacity: 1;
    transform: translateX(0);
    overflow: hidden;
    transition: opacity 0.18s ease, transform 0.22s ease, max-width 0.22s ease;
}

.sidebar-branding__eyebrow {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #10b981;
}

.sidebar-branding__title {
    font-size: 1rem;
    color: #0f172a;
}

.sidebar-collapse-btn {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    background: linear-gradient(180deg, #ffffff, #f8fafc);
    color: #475569;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.22s ease, box-shadow 0.22s ease;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.sidebar-collapse-btn:hover {
    background: linear-gradient(180deg, #ffffff, #eef2f7);
    color: #0f172a;
    border-color: #94a3b8;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
}

.sidebar-collapse-btn svg {
    width: 18px;
    height: 18px;
}

.sidebar-collapse-btn__divider {
    opacity: 0.45;
}

.sidebar-collapse-btn__chevron {
    transform-origin: 15px 12px;
    transition: transform 0.22s ease;
}

.sidebar-collapse-btn.is-collapsed .sidebar-collapse-btn__chevron {
    transform: rotate(180deg);
}

.sidebar-collapse-btn.is-collapsed {
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

body.sidebar-enabled .app-sidebar {
    opacity: 1;
    visibility: visible;
}

.app-sidebar.collapsed {
    width: 58px;
}

/* Section label */
.sidebar-section-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #94a3b8;
    padding: 1.25rem 1.25rem 0.5rem;
}

.app-sidebar.collapsed .sidebar-section-label {
    display: none;
}

.sidebar-nav {
    padding: 0.5rem 0;
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow-y: auto;
}

.sidebar-footer {
    padding: 0.75rem 0;
    border-top: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.sidebar-item {
    display: flex;
    align-items: center;
    padding: 0.55rem 1rem 0.55rem 1.25rem;
    color: #475569;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    border-left: 3px solid transparent;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    white-space: nowrap;
    position: relative;
    background: none;
    border-top: none;
    border-right: none;
    border-bottom: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-family: var(--font-family);
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, padding var(--transition-base);
}

.sidebar-item:hover {
    background: #f1f5f9;
    color: #0f172a;
    border-left-color: #cbd5e1;
}

.sidebar-item.active {
    background: #ecfdf5;
    color: #059669;
    border-left-color: #10b981;
    font-weight: 600;
}

.sidebar-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    flex-shrink: 0;
    transition: background 0.15s ease;
}

.sidebar-item:hover .sidebar-icon {
    background: #cbd5e1;
}

.sidebar-item.active .sidebar-icon {
    background: #d1fae5;
    color: #059669;
}

.sidebar-icon svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}

.sidebar-text {
    display: block;
    font-size: 0.875rem;
    opacity: 1;
    max-width: 120px;
    transform: translateX(0);
    visibility: visible;
    transition: opacity 0.18s ease, transform 0.22s ease, max-width 0.22s ease, visibility 0.22s ease;
    overflow: hidden;
    white-space: nowrap;
}

.app-sidebar.collapsed .sidebar-item {
    padding: 0.45rem 0;
    justify-content: center;
    border-left-width: 0;
    border-left-color: transparent;
}

.app-sidebar.collapsed .sidebar-text,
.app-sidebar.collapsed .sidebar-section-label,
.app-sidebar.collapsed .sidebar-branding {
    opacity: 0;
    max-width: 0;
    transform: translateX(-8px);
    visibility: hidden;
    pointer-events: none;
}

.app-sidebar.collapsed .sidebar-icon {
    margin: 0 auto;
}

.app-sidebar.collapsed .sidebar-header {
    justify-content: center;
    padding: 0.6rem 0 0.5rem;
}

.app-sidebar.collapsed .sidebar-collapse-btn {
    width: 32px;
    height: 32px;
    margin: 0 auto;
    border-radius: 11px;
    transform: none;
}

.app-sidebar.collapsed .sidebar-collapse-btn svg {
    transform: translateX(0.5px);
}

.app-sidebar.collapsed .sidebar-collapse-btn__divider {
    opacity: 0;
}

.app-sidebar.collapsed .sidebar-collapse-btn__chevron {
    transform: translateX(-1px) rotate(180deg);
}

.app-sidebar.collapsed .sidebar-nav,
.app-sidebar.collapsed .sidebar-footer {
    align-items: center;
}

.app-sidebar.collapsed .sidebar-footer {
    padding: 0.45rem 0;
}

.app-sidebar.mobile-open .sidebar-header {
    display: flex;
}

.app-sidebar.mobile-open .sidebar-branding,
.app-sidebar.mobile-open .sidebar-text {
    display: initial;
}

/* Sidebar collapse toggle — always visible in the header */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.15s ease;
    padding: 0;
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.14);
}

.burger-line {
    width: 18px;
    height: 2px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 2px;
    transition: all 0.15s ease;
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    /* Single column on mobile — no sidebar in grid flow */
    #app {
        grid-template-areas:
            "header"
            "main"
            "footer";
        grid-template-columns: 1fr;
    }

    /* Sidebar overlays on mobile */
    app-sidebar {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: min(280px, calc(100vw - 2.5rem));
        height: calc(100vh - var(--header-height));
        z-index: 1001;
        transform: translateX(-100%);
        transition: transform var(--transition-base);
        background: transparent;
        overflow: visible;
    }

    app-sidebar.mobile-open {
        transform: translateX(0);
    }

    .app-sidebar {
        width: 100%;
        max-width: 100%;
        min-height: 100%;
        box-shadow: 0 24px 48px rgba(15, 23, 42, 0.24);
    }

    .app-sidebar.collapsed {
        width: 100%;
        overflow-y: auto;
        border-right: 1px solid #e2e8f0;
    }

    .app-sidebar.collapsed .sidebar-item {
        padding: 0.55rem 1rem 0.55rem 1.25rem;
        justify-content: flex-start;
    }

    .app-sidebar.collapsed .sidebar-text,
    .app-sidebar.collapsed .sidebar-branding,
    .app-sidebar.collapsed .sidebar-header {
        display: initial;
    }

    .app-sidebar.collapsed .sidebar-text,
    .app-sidebar.collapsed .sidebar-branding {
        opacity: 1;
        max-width: none;
        transform: none;
        visibility: visible;
        pointer-events: auto;
    }

    .app-sidebar.collapsed .sidebar-header {
        display: flex;
        justify-content: space-between;
        padding: 1rem 1.25rem 0.85rem;
    }

    .app-sidebar.collapsed .sidebar-icon {
        margin: 0;
    }

    .app-sidebar.collapsed .sidebar-collapse-btn {
        width: 36px;
        height: 36px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    /* Hide sidebar toggle when sidebar is open on mobile */
    body.sidebar-open .mobile-menu-toggle {
        opacity: 0;
        pointer-events: none;
    }

    /* Overlay when sidebar is open */
    .sidebar-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1000;
        opacity: 0;
        pointer-events: none;
        transition: opacity var(--transition-base);
    }
    
    .sidebar-overlay.active {
        opacity: 1;
        pointer-events: all;
    }
    
    .logo-text {
        font-size: 1.25rem;
    }
    
    .desktop-nav {
        display: none;
    }
    
    .desktop-only {
        display: none !important;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .component-library {
        padding: var(--spacing-xl) var(--spacing-md);
    }
    
    .app-footer .container {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }

    .mobile-drawer {
        display: none;
    }
    
    .hamburger {
        display: none;
    }
    
    .sidebar-overlay {
        display: none;
    }

}

/* === variables.css === */
/**
 * CSS Variables - Design System
 * 
 * ⚠️ DEVELOPER CUSTOMIZATION ZONE ⚠️
 * 
 * This file is for YOUR custom variables and theme overrides.
 * Feel free to add, modify, or remove any variables here.
 * 
 * Framework variables (prefixed with --nc-) are in core-variables.css.
 * DO NOT use the --nc- prefix here to avoid conflicts.
 * 
 * Optional: Override framework theme colors by setting --nc-theme-* variables:
 * --nc-theme-primary: #your-color;
 * --nc-theme-primary-light: #your-light-color;
 * --nc-theme-primary-dark: #your-dark-color;
 * --nc-theme-secondary: #your-secondary-color;
 * --nc-theme-accent: #your-accent-color;
 */
:root {
    /* Brand Colors - Professional Emerald & Slate */
    --color-primary: #10b981;
    --color-primary-light: #34d399;
    --color-primary-white: #ffffff;
    --color-primary-dark: #059669;
    --color-secondary: #3b82f6;
    --color-accent: #0f172a;
    
    /* Gradients - Subtle and Modern */
    --gradient-primary: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --gradient-secondary: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    --gradient-accent: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --gradient-success: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --gradient-subtle: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.02) 100%);
    --gradient-hero: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(5, 150, 105, 0.05) 100%);
    
    /* Metallic Gradients - Removed for cleaner look */
    --gradient-gold: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --gradient-silver: linear-gradient(135deg, #64748b 0%, #475569 100%);
    --gradient-platinum: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    --gradient-bronze: linear-gradient(135deg, #10b981 0%, #059669 100%);
    
    /* Neutral Colors - Tailwind Slate Palette */
    --color-white: #ffffff;
    --color-black: #000000;
    --color-gray-50: #f8fafc;
    --color-gray-100: #f1f5f9;
    --color-gray-200: #e2e8f0;
    --color-gray-300: #cbd5e1;
    --color-gray-400: #94a3b8;
    --color-gray-500: #64748b;
    --color-gray-600: #475569;
    --color-gray-700: #334155;
    --color-gray-800: #1e293b;
    --color-gray-900: #0f172a;
    
    /* Semantic Colors */
    --color-success: #10b981;
    --color-warning: #f59e0b;
    --color-error: #ef4444;
    --color-info: #3b82f6;
    
    /* Text Colors */
    --color-text: #0f172a;
    --color-text-secondary: #64748b;
    --color-text-muted: #94a3b8;
    
    /* Background Colors */
    --color-bg: #ffffff;
    --color-bg-secondary: #f8fafc;
    --color-bg-tertiary: #f1f5f9;
    --color-border: #e2e8f0;
    
    /* Short aliases for component use */
    --primary: var(--color-primary);
    --primary-dark: var(--color-primary-dark);
    --secondary: var(--color-secondary);
    --secondary-dark: #2563eb;
    --success: var(--color-success);
    --danger: var(--color-error);
    --text: var(--color-text);
    --text-secondary: var(--color-text-secondary);
    --bg: var(--color-bg);
    --bg-secondary: var(--color-bg-secondary);
    --border: var(--color-border);
    
    /* Shadows - Subtle and Modern */
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.08), 0 1px 2px 0 rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
    
    /* Colored Shadows - For hover effects */
    --shadow-primary: 0 4px 12px rgba(16, 185, 129, 0.25);
    --shadow-secondary: 0 4px 12px rgba(59, 130, 246, 0.25);
    --shadow-success: 0 4px 12px rgba(16, 185, 129, 0.25);
    
    /* Typography */
    --font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-family-mono: 'Geist Mono', 'SF Mono', Monaco, 'Cascadia Code', Consolas, monospace;
    
    --font-size-xs: 0.75rem;      /* 12px */
    --font-size-sm: 0.875rem;     /* 14px */
    --font-size-base: 1rem;       /* 16px */
    --font-size-lg: 1.125rem;     /* 18px */
    --font-size-xl: 1.25rem;      /* 20px */
    --font-size-2xl: 1.5rem;      /* 24px */
    --font-size-3xl: 1.875rem;    /* 30px */
    --font-size-4xl: 2.25rem;     /* 36px */
    
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* Spacing */
    --spacing-xs: 0.25rem;    /* 4px */
    --spacing-sm: 0.5rem;     /* 8px */
    --spacing-md: 1rem;       /* 16px */
    --spacing-lg: 1.5rem;     /* 24px */
    --spacing-xl: 2rem;       /* 32px */
    --spacing-2xl: 3rem;      /* 48px */
    --spacing-3xl: 4rem;      /* 64px */
    
    /* Border Radius */
    --radius-sm: 0.25rem;     /* 4px */
    --radius-md: 0.5rem;      /* 8px */
    --radius-lg: 0.75rem;     /* 12px */
    --radius-xl: 1rem;        /* 16px */
    --radius-2xl: 1.5rem;     /* 24px */
    --radius-full: 9999px;
    
    /* Transitions - Smooth animations */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Layout */
    --container-max-width: 100%;
    --header-height: 70px;
    
    /* Z-index Scale */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
}


/* === main.css === */
/**
 * Main Styles
 */

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

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

/* Selection */
::selection {
    background: var(--color-primary);
    color: white;
}

/* Container */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
}

/* Responsive Grid Utilities */
.grid {
    display: grid;
    gap: var(--nc-spacing-lg);
    width: 100%;
}

.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)); }

/* Auto-fit responsive grid (recommended) */
.grid-auto {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--nc-spacing-lg);
    width: 100%;
}

/* Flexbox responsive layout */
.flex-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: var(--nc-spacing-lg);
}

.flex-wrap > * {
    flex: 1 1 300px;
    min-width: 0;
}

/* Responsive breakpoints */
@media (max-width: 768px) {
    .grid-cols-2,
    .grid-cols-3,
    .grid-cols-4 {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    
    .grid-auto {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .grid-cols-3,
    .grid-cols-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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

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



/* Page transition animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

.page-transition-exit {
    animation: fadeOut 0.2s ease-out forwards;
}

.page-transition-enter {
    animation: fadeIn 0.4s ease-in forwards;
}

/* Page navigation spinner */
@keyframes nc-spin {
    to { transform: rotate(360deg); }
}

#page-progress {
    position: fixed;
    bottom: 1.25rem;
    right: 1.25rem;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
    background: conic-gradient(
        var(--color-primary) 0deg,
        var(--color-primary) 270deg,
        transparent 270deg
    );
    -webkit-mask: radial-gradient(circle, transparent 9px, black 10px);
    mask: radial-gradient(circle, transparent 9px, black 10px);
}

#page-progress.loading {
    opacity: 1;
    animation: nc-spin 0.7s linear infinite;
}

/* Layout */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    box-sizing: border-box;
}


.component-library {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: var(--spacing-2xl) var(--spacing-xl);
    box-sizing: border-box;
    width: 100%;
}

/* Component Library Sections */
.page-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
    padding-bottom: var(--spacing-xl);
    border-bottom: 2px solid var(--color-border);
    margin-top: var(--spacing-xl);
}

.page-title {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: var(--spacing-md);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-description {
    font-size: var(--font-size-lg);
    color: var(--color-text-secondary);
    margin: 0;
}

.page-eyebrow {
    font-size: var(--font-size-sm);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin: 0 0 var(--spacing-sm);
}

/* Generic card grid — used by the make:view scaffold and any simple grid layout */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
}

/* Base card — clean, modern, minimal */
.card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl) var(--spacing-xl) var(--spacing-lg);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition-fast), transform var(--transition-fast), border-color var(--transition-fast);
}

.card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    border-color: var(--color-primary-light, #6ee7b7);
}

/* make:view scaffold — toggled via wire-class="cardActive:card--wired-active" */
.card.card--wired-active {
    border-color: var(--color-primary, #22c55e);
    box-shadow: var(--shadow-md);
}

.card__icon {
    font-size: 1.25rem;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: var(--spacing-xs);
}

.card__title {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--color-text);
    margin: 0;
    line-height: 1.3;
}

.card__body {
    font-size: var(--font-size-base);
    color: var(--color-text-secondary);
    line-height: 1.65;
    margin: 0;
    flex: 1;
}

.card__body code {
    font-family: 'Geist Mono', monospace;
    font-size: 0.85em;
    background: var(--color-bg-secondary);
    color: var(--color-primary);
    padding: 1px 5px;
    border-radius: var(--radius-sm);
}

/* Scaffold hero banner — generated by make:view */
.scaffold-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: clamp(3rem, 8vw, 5rem) 2rem;
    text-align: center;
}

.scaffold-hero__inner {
    max-width: 640px;
    margin: 0 auto;
}

.scaffold-hero .page-eyebrow {
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
    display: block;
}

.scaffold-hero__title {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #fff;
    margin: 0 0 var(--spacing-md);
    line-height: 1.15;
}

.scaffold-hero__desc {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin: 0;
}

/* Scaffold body — padding between hero and cards */
.scaffold-body {
    padding-top: var(--spacing-3xl);
    padding-bottom: var(--spacing-3xl);
}

/* Page-level CTA row — used below card grids in generated views */
.page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    justify-content: center;
    margin-top: var(--spacing-2xl);
}

@media (max-width: 640px) {
    .card-grid {
        grid-template-columns: 1fr;
    }
    .page-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .page-actions > * {
        width: 100%;
    }
}

.component-section {
    margin-bottom: var(--spacing-3xl);
    padding: var(--spacing-2xl);
    background: white;
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.component-section:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary-light);
}

.section-title {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--color-bg-secondary);
}

.component-demo {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-lg);
    align-items: center;
    padding: var(--spacing-sm);
    background: var(--color-bg-secondary);
    border-radius: var(--radius-lg);
    min-height: 100px;
}

/* Docs Page */
.docs-page {
    padding-top: var(--spacing-2xl);
    padding-bottom: var(--spacing-3xl);
}

.docs-page__header {
    text-align: left;
}

.docs-page__eyebrow {
    margin: 0 0 var(--spacing-sm);
    font-size: var(--font-size-sm);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-primary);
}

.docs-page__status {
    margin: var(--spacing-md) 0 0;
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
}

.docs-page__toc-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin: 0 0 var(--spacing-lg);
    padding: 0.7rem 0.95rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: white;
    color: var(--color-text);
    font: inherit;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
}

.docs-sidebar-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.38);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-fast);
    z-index: 39;
}

.docs-sidebar-backdrop.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.docs-layout {
    display: grid;
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    gap: var(--spacing-xl);
    align-items: start;
}

.docs-sidebar {
    position: sticky;
    top: 12px;
    align-self: start;
    height: calc(100vh - 24px);
}

.docs-sidebar__card {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    padding: var(--spacing-lg);
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.docs-sidebar__title {
    margin: 0 0 var(--spacing-md);
    font-size: var(--font-size-lg);
    color: var(--color-text);
}

.docs-toc {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    gap: 6px;
    overflow-y: auto;
    min-height: 0;
    padding-right: 4px;
    padding-bottom: 24px;
    scrollbar-width: thin;
}

.docs-toc::-webkit-scrollbar {
    width: 8px;
}

.docs-toc::-webkit-scrollbar-thumb {
    background: var(--color-border);
    border-radius: 999px;
}

.docs-toc::-webkit-scrollbar-track {
    background: transparent;
}

.docs-toc__link {
    display: block;
    padding: 6px 10px;
    border-radius: var(--radius-md);
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.docs-toc__link:hover {
    background: var(--color-bg-secondary);
    color: var(--color-primary);
}

.docs-toc__link--chapter {
    font-weight: 600;
}

.docs-toc__link--active {
    background: color-mix(in srgb, var(--color-primary) 12%, white);
    color: var(--color-primary-dark);
}

.docs-toc__link--h3 {
    padding-left: 22px;
    font-size: var(--font-size-sm);
}

.docs-toc__link--h4 {
    padding-left: 34px;
    font-size: var(--font-size-sm);
}

.docs-toc__empty {
    color: var(--color-text-secondary);
    font-size: var(--font-size-sm);
}

.docs-content {
    min-width: 0;
}

.docs-article {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    padding: clamp(20px, 3vw, 40px);
}

.docs-reader {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.docs-reader__nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: var(--color-bg-secondary);
}

.docs-reader__meta {
    min-width: 0;
    text-align: center;
    font-weight: 700;
    color: var(--color-text);
}

.docs-reader__meta-compact,
.docs-reader__button-compact {
    display: none;
}

.docs-reader__body {
    min-width: 0;
}

.docs-reader__button {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    min-width: min(220px, 100%);
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: white;
    color: var(--color-text);
    font: inherit;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    transition: border-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.docs-reader__button-detail {
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--color-text-secondary);
}

.docs-reader__button:hover:not(:disabled) {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
}

.docs-reader__button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.docs-reader__button--next {
    text-align: right;
    align-items: flex-end;
}

.docs-article h1,
.docs-article h2,
.docs-article h3,
.docs-article h4 {
    color: var(--color-text);
    scroll-margin-top: 100px;
}

.docs-article h1 {
    font-size: var(--font-size-4xl);
    margin: 0 0 var(--spacing-lg);
}

.docs-article h2 {
    margin-top: var(--spacing-2xl);
    margin-bottom: var(--spacing-md);
    padding-top: var(--spacing-sm);
    border-top: 1px solid var(--color-border);
    font-size: var(--font-size-2xl);
}

.docs-article h3 {
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-sm);
    font-size: var(--font-size-xl);
}

.docs-article h4 {
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-xs);
    font-size: var(--font-size-lg);
}

.docs-article p,
.docs-article li,
.docs-article blockquote {
    color: var(--color-text-secondary);
    line-height: 1.75;
}

.docs-article a {
    color: var(--color-primary);
    text-decoration: none;
}

.docs-article a:hover {
    text-decoration: underline;
}

.docs-article ul,
.docs-article ol {
    padding-left: 1.4rem;
}

.docs-article blockquote {
    margin: var(--spacing-lg) 0;
    padding: var(--spacing-md) var(--spacing-lg);
    border-left: 4px solid var(--color-primary-light);
    background: var(--color-bg-secondary);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.docs-article hr {
    border: none;
    border-top: 1px solid var(--color-border);
    margin: var(--spacing-xl) 0;
}

.docs-article pre {
    margin: var(--spacing-lg) 0;
    padding: var(--spacing-lg);
    overflow-x: auto;
    border-radius: var(--radius-lg);
    background: #111827;
    color: #e5e7eb;
}

.docs-article code {
    font-family: 'Geist Mono', monospace;
    font-size: 0.95em;
}

.docs-article p code,
.docs-article li code,
.docs-article blockquote code {
    background: var(--color-bg-secondary);
    color: var(--color-text);
    padding: 2px 6px;
    border-radius: var(--radius-sm);
}

.docs-article table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--spacing-lg) 0;
    font-size: var(--font-size-sm);
}

.docs-article table th,
.docs-article table td {
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid var(--color-border);
    vertical-align: top;
}

.docs-article table th {
    background: var(--color-bg-secondary);
    font-weight: var(--font-weight-semibold);
    white-space: nowrap;
}

.docs-article table tbody tr:nth-child(even) {
    background: color-mix(in srgb, var(--color-bg-secondary) 50%, transparent);
}

.docs-article table tbody tr:hover {
    background: color-mix(in srgb, var(--color-primary) 6%, transparent);
}

.docs-error {
    padding: var(--spacing-xl);
    border: 1px solid var(--color-danger-light);
    border-radius: var(--radius-lg);
    background: color-mix(in srgb, var(--color-danger) 8%, white);
}

@media (max-width: 980px) {
    .docs-layout {
        grid-template-columns: 1fr;
    }

    .docs-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: min(86vw, 320px);
        height: 100vh;
        z-index: 40;
        transform: translateX(-100%);
        transition: transform var(--transition-base);
        padding: 12px 10px 12px 12px;
        box-sizing: border-box;
    }

    .docs-sidebar.is-open {
        transform: translateX(0);
    }

    .docs-sidebar__card {
        height: 100%;
    }

    .docs-toc {
        overflow-y: auto;
    }

    .docs-page__toc-toggle {
        display: inline-flex;
    }

    .docs-reader__nav {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        align-items: center;
        gap: 0.5rem;
        padding: 0.65rem;
    }

    .docs-reader__button,
    .docs-reader__button--next {
        min-width: 0;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 0.75rem 0.6rem;
        gap: 0;
    }

    .docs-reader__button-label,
    .docs-reader__button-detail,
    .docs-reader__meta-full {
        display: none;
    }

    .docs-reader__button-compact,
    .docs-reader__meta-compact {
        display: block;
        font-size: 0.82rem;
        line-height: 1.2;
    }

    .docs-reader__meta {
        font-size: 0.82rem;
        padding: 0 0.2rem;
    }

    .docs-reader__button--next {
        align-items: center;
    }
}



.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.mobile-menu-toggle:hover {
    background: var(--color-bg-secondary);
}

.mobile-menu-toggle .burger-line {
    width: 20px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--color-primary);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.logo:hover {
    transform: translateY(-2px);
    color: var(--color-primary-dark);
}

.logo-icon {
    font-size: 2rem;
    line-height: 1;
}

.logo-text {
    font-size: 1.5rem;
}


.nanc-link {
    position: relative;
    padding: var(--spacing-sm) var(--spacing-md);
    color: var(--color-text);
    font-weight: 500;
    transition: all var(--transition-fast);
    border-radius: var(--radius-md);
}

.nanc-link:hover {
    color: var(--color-primary);
    background: var(--color-bg-secondary);
}

.nanc-link.active {
    color: var(--color-primary);
    background: var(--color-bg-secondary);
}


.user-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.user-name {
    color: var(--color-text-secondary);
    font-size: var(--font-size-sm);
    font-weight: 500;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-sm);
    z-index: 1001;
    transition: all var(--transition-fast);
    border-radius: var(--radius-md);
}

.hamburger:hover {
    background: var(--color-bg-secondary);
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: all var(--transition-fast);
    border-radius: 2px;
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 999;
    pointer-events: none;
    visibility: hidden;
}

.mobile-drawer.open {
    pointer-events: all;
    visibility: visible;
}

.drawer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity var(--transition-base);
    z-index: 1;
}

.mobile-drawer.open .drawer-overlay {
    opacity: 1;
}

.drawer-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    max-width: 80vw;
    height: 100%;
    background: white;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform var(--transition-base);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    z-index: 2;
}

.mobile-drawer.open .drawer-content {
    transform: translateX(0);
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-lg);
    border-bottom: 1px solid var(--color-border);
}

.drawer-title {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--color-text);
}

.drawer-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--color-text-secondary);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.drawer-close:hover {
    background: var(--color-bg-secondary);
    color: var(--color-text);
}

.drawer-nav {
    flex: 1;
    padding: var(--spacing-md) 0;
}

.drawer-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md) var(--spacing-lg);
    color: var(--color-text);
    font-weight: 500;
    transition: all var(--transition-fast);
    text-decoration: none;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-size: var(--font-size-base);
}

.drawer-link:hover {
    background: var(--color-bg-secondary);
    color: var(--color-primary);
}

.drawer-link.active {
    background: var(--color-bg-secondary);
    color: var(--color-primary);
    border-left: 3px solid var(--color-primary);
}

.drawer-icon {
    font-size: 1.25rem;
    width: 24px;
    text-align: center;
}

.drawer-user {
    padding: var(--spacing-lg);
    border-top: 1px solid var(--color-border);
    background: var(--color-bg-secondary);
}

.drawer-user-info {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.drawer-user-icon {
    font-size: 2.5rem;
}

.drawer-user-details {
    display: flex;
    flex-direction: column;
}

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

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

.desktop-only {
    display: flex;
}

/* Footer */
/* Reserve space before the custom element upgrades to prevent layout shift */
app-footer {
    display: block;
    min-height: 132px;
}

.app-footer {
    background: var(--color-bg-secondary);
    padding: var(--spacing-xl) 0;
    border-top: 1px solid var(--color-border);
}

.app-footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.app-footer p {
    color: var(--color-text-secondary);
}

.footer-links {
    display: flex;
    gap: var(--spacing-lg);
}

.footer-links a {
    color: var(--color-text);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.footer-links a:hover,
.footer-links a:focus-visible {
    color: var(--color-primary-dark);
}



/* Forms */
.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-group label {
    margin-bottom: var(--spacing-xs);
    font-weight: 500;
    color: var(--color-text);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: var(--font-size-base);
    font-family: var(--font-family);
    transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
}

/* Checkbox styles */
.checkbox-group {
    margin-bottom: var(--spacing-md);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    cursor: pointer;
    user-select: none;
}

.checkbox-input {
    max-width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--color-primary);
}

.checkbox-text {
    font-weight: 400;
    color: var(--color-text-secondary);
}

/* Alerts */
.alert {
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-lg);
}

.alert-error {
    background: #fee;
    color: var(--color-error);
    border: 1px solid var(--color-error);
}

.alert-success {
    background: #efe;
    color: var(--color-success);
    border: 1px solid var(--color-success);
}

/* Loading Spinner */
.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-2xl);
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--color-border);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.loading-spinner.small .spinner {
    width: 20px;
    height: 20px;
    border-width: 2px;
}

.loading-spinner.large .spinner {
    width: 60px;
    height: 60px;
    border-width: 6px;
}

.loading-message {
    margin-top: var(--spacing-md);
    color: var(--color-text-secondary);
}

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

/* Pages */
.page {
    /*padding: var(--spacing-xl);*/
}

/* Home Page */
.hero {
    text-align: center;
    padding: var(--spacing-3xl) var(--spacing-xl);
    background: var(--gradient-hero);
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-top: 0;
    margin-bottom: 0;
}

.hero h1 {
    font-size: var(--font-size-4xl);
    margin-bottom: var(--spacing-md);
    background: var(--gradient-subtle);
    background-color:white;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.hero p {
    font-size: var(--font-size-lg);
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-xl);
}

.hero-actions {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
}

.features {
    margin-top: var(--spacing-2xl);
}

.features h2 {
    text-align: center;
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-xl);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
    align-items: stretch;
}

.feature-card {
    display: flex;
    flex-direction: column;
    padding: var(--spacing-2xl);
    background: white;
    border-radius: var(--radius-xl);
    text-align: center;
    transition: all var(--transition-base);
    cursor: pointer;
    /*border: 1px solid var(--color-border);*/
    box-shadow: var(--shadow-sm);
    height: 100%;
}

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

.feature-card h3 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-md);
    transition: color var(--transition-fast);
    font-weight: 600;
}

.feature-card:hover h3 {
    color: var(--color-primary);
}

.feature-card p {
    flex: 1;
    margin: 0;
}

/* Page wrapper — centered on public shell */
.page {
    max-width: var(--container-max-width);
    margin: 0 auto;
}

/* On protected shell, page takes full available width — no centering */
body.sidebar-enabled .page {
    max-width: 100%;
    margin: 0;
}

/* Login Page */
.login-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    width: 100%;
}

.login-experience {
    min-height: calc(100vh - 70px);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(1.25rem, 3vw, 2.5rem);
}

.login-shell {
    width: min(1280px, 100%);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
    border-radius: 36px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 32px 90px rgba(15, 23, 42, 0.16);
}

.login-showcase {
    position: relative;
    overflow: hidden;
    padding: clamp(2rem, 5vw, 4rem);
    background:
        radial-gradient(circle at top left, rgba(16, 185, 129, 0.26), transparent 35%),
        radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.18), transparent 30%),
        linear-gradient(145deg, #07111f 0%, #0f172a 55%, #12243d 100%);
    color: #f8fafc;
    box-shadow: 0 32px 80px rgba(15, 23, 42, 0.28);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2rem;
}

.login-showcase__eyebrow,
.login-panel__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    width: fit-content;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.login-showcase__eyebrow {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.9);
}

.login-showcase__title {
    margin: 0;
    max-width: 12ch;
    font-size: clamp(2.4rem, 5vw, 4.75rem);
    line-height: 0.98;
    letter-spacing: -0.05em;
    color: #ffffff;
}

.login-showcase__copy {
    margin: 0;
    max-width: 60ch;
    font-size: 1.05rem;
    line-height: 1.75;
    color: rgba(248, 250, 252, 0.78);
}

.login-showcase__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.login-showcase__card {
    padding: 1.4rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(14px);
}

.login-showcase__card--accent {
    background: linear-gradient(180deg, rgba(16, 185, 129, 0.12), rgba(15, 23, 42, 0.1));
}

.login-showcase__card h2 {
    margin: 0 0 0.85rem;
    font-size: 1rem;
    color: #ffffff;
}

.login-showcase__list {
    margin: 0;
    padding-left: 1.1rem;
    color: rgba(241, 245, 249, 0.82);
    line-height: 1.8;
}

.login-showcase__metrics {
    display: grid;
    gap: 0.85rem;
}

.login-showcase__metrics strong {
    display: block;
    margin-bottom: 0.2rem;
    color: #ffffff;
}

.login-showcase__metrics span {
    color: rgba(241, 245, 249, 0.75);
    line-height: 1.55;
}

.login-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(1.75rem, 3vw, 3rem);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.98)),
        linear-gradient(160deg, rgba(16, 185, 129, 0.08), rgba(59, 130, 246, 0.05));
    min-height: 100%;
}

.login-panel__header h2 {
    margin: 0.65rem 0 0.6rem;
    font-size: clamp(1.9rem, 3vw, 2.6rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: #0f172a;
}

.login-panel__header p {
    margin: 0;
    color: #475569;
    line-height: 1.7;
}

.login-panel__eyebrow {
    background: rgba(16, 185, 129, 0.12);
    color: #047857;
    border: 1px solid rgba(16, 185, 129, 0.18);
}

.login-demo-credentials {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
    margin: 1.5rem 0 1.25rem;
}

.login-demo-credentials__item {
    padding: 0.95rem 1rem;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.login-demo-credentials__item span {
    display: block;
    margin-bottom: 0.3rem;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
}

.login-demo-credentials__item strong {
    color: #0f172a;
    font-size: 0.98rem;
    word-break: break-word;
}

.login-alert {
    margin-bottom: 1rem;
}

.login-alert[hidden] {
    display: none;
}

.login-form {
    display: grid;
    gap: 1.15rem;
}

.login-field {
    display: grid;
    gap: 0.55rem;
}

.login-field__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.login-field__label {
    font-size: 0.92rem;
    font-weight: 700;
    color: #0f172a;
}

.login-field__demo {
    font-size: 0.8rem;
    font-weight: 600;
    color: #0f766e;
}

.login-form__utility {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.login-form__utility-link {
    color: #0f766e;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
}

.login-form__utility-link:hover,
.login-form__utility-link:focus-visible {
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.login-panel__footer {
    margin: 1.15rem 0 0;
    color: #64748b;
    font-size: 0.92rem;
    line-height: 1.65;
}

@media (max-width: 980px) {
    .login-shell {
        grid-template-columns: 1fr;
    }

    .login-showcase__grid,
    .login-demo-credentials {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .login-experience {
        padding: 1rem;
    }

    .login-shell {
        border-radius: 24px;
    }

    .login-showcase__title {
        max-width: none;
    }

    .login-form__utility {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Dashboard Page */
.dashboard-container {
    max-width: 100%;
    margin: 0;
    display: grid;
    gap: 1.5rem;
    padding: 1.25rem;
}

.dashboard-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.75fr);
    gap: 1.5rem;
    padding: 1.8rem;
    background:
        radial-gradient(circle at top left, rgba(16, 185, 129, 0.18), transparent 30%),
        radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.14), transparent 30%),
        linear-gradient(140deg, #f8fafc 0%, #eefbf6 48%, #eff6ff 100%);
    border: 1px solid rgba(148, 163, 184, 0.22);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
    border-radius: 32px;
}

.dashboard-hero__content,
.dashboard-hero__spotlight {
    display: grid;
    gap: 1rem;
    align-content: start;
}

.dashboard-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 0.95;
    margin: 0;
    color: #0f172a;
}

.dashboard-subtitle {
    font-size: 1.02rem;
    color: #475569;
    margin: 0;
    max-width: 60ch;
    line-height: 1.7;
}

.dashboard-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.dashboard-hero__actions > * {
    min-width: 0;
}

.dashboard-hero__proofs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.dashboard-spotlight-card {
    padding: 1.25rem;
    background: #0f172a;
    color: #f8fafc;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.18);
}

.dashboard-popover-copy {
    padding: 0.95rem 1rem;
    color: #334155;
    line-height: 1.65;
}

.dashboard-spotlight-card__label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(167, 243, 208, 0.9);
}

.dashboard-spotlight-card__value {
    display: block;
    margin-top: 0.6rem;
    font-size: 2.6rem;
    line-height: 1;
}

.dashboard-spotlight-card__copy {
    margin: 0.7rem 0 0;
    color: rgba(226, 232, 240, 0.78);
    line-height: 1.65;
}

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

.dashboard-kpi-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    padding: 1.3rem;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
    border-radius: 24px;
}

.dashboard-kpi-card__value {
    display: block;
    margin-top: 0.5rem;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    line-height: 1;
    color: #0f172a;
}

.dashboard-kpi-card__copy {
    margin: 0.65rem 0 0;
    color: #475569;
    line-height: 1.6;
}

.dashboard-main-grid,
.dashboard-showcase-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: 1.5rem;
}

.dashboard-hero,
.dashboard-kpi-card,
.dashboard-panel,
.dashboard-note-card,
.dashboard-component-card,
.dashboard-metric-card {
    min-width: 0;
}

.dashboard-panel {
    padding: 1.4rem;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.06);
    border-radius: 28px;
}

.dashboard-panel--wide {
    min-width: 0;
}

.dashboard-panel__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.15rem;
}

.dashboard-panel__title {
    margin: 0;
    font-size: 1.45rem;
    line-height: 1.15;
    color: #0f172a;
}

.dashboard-panel__meta {
    font-size: 0.9rem;
    font-weight: 600;
    color: #475569;
}

.dashboard-panel__header--compact {
    margin-bottom: 1rem;
}

.dashboard-panel__title--small {
    margin-top: 0.65rem;
    font-size: 1.1rem;
}

.dashboard-health-list {
    display: grid;
    gap: 1.1rem;
}

.dashboard-health-row {
    display: grid;
    gap: 0.7rem;
    padding: 1rem 0;
    border-top: 1px solid #e2e8f0;
}

.dashboard-health-row:first-child {
    border-top: none;
    padding-top: 0;
}

.dashboard-health-row strong {
    display: block;
    margin-bottom: 0.35rem;
    color: #0f172a;
}

.dashboard-health-row span {
    color: #64748b;
    font-size: 0.92rem;
    line-height: 1.6;
}

.dashboard-panel--showcase {
    padding-bottom: 1.7rem;
}

.dashboard-panel--embedded {
    padding: 1rem;
}

.dashboard-content-stack {
    display: grid;
    gap: 1rem;
    align-content: start;
}

.dashboard-note-card {
    padding: 1.1rem 1.15rem;
    border-radius: 22px;
}

.dashboard-note-card h3 {
    margin: 0 0 0.45rem;
    color: #0f172a;
}

.dashboard-note-card p {
    margin: 0;
    color: #475569;
    line-height: 1.7;
}

.dashboard-component-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.dashboard-component-card {
    padding: 1.2rem;
    min-height: 180px;
    border-radius: 22px;
}

.dashboard-signal-lab-card {
    display: grid;
    gap: 1rem;
}

.dashboard-signal-lab-grid,
.dashboard-data-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}

.dashboard-data-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
    align-items: start;
}

.dashboard-metric-card {
    padding: 1rem;
    border-radius: 20px;
    display: grid;
    gap: 0.7rem;
}

.dashboard-metric-card__value {
    font-size: 1.9rem;
    line-height: 1;
    color: #0f172a;
}

.dashboard-component-card h3 {
    margin: 0.9rem 0 0.5rem;
    color: #0f172a;
}

.dashboard-component-card p {
    margin: 0;
    color: #475569;
    line-height: 1.7;
}

.dashboard-actions {
    margin-top: var(--spacing-xl);
}

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

@media (max-width: 768px) {
    .dashboard-container {
        padding: 0.75rem;
        gap: 1rem;
    }

    .dashboard-hero {
        padding: 1rem;
        gap: 1rem;
        border-radius: 22px;
    }

    .dashboard-title {
        font-size: clamp(2rem, 10vw, 2.8rem);
    }

    .dashboard-subtitle {
        font-size: 0.98rem;
        line-height: 1.65;
    }

    .dashboard-hero__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .dashboard-hero__actions nc-button {
        width: 100%;
    }

    .dashboard-hero__actions nc-a {
        width: 100%;
        --nc-a-host-width: 100%;
        --nc-a-width: 100%;
    }

    .dashboard-hero__proofs {
        gap: 0.5rem;
    }

    .dashboard-kpi-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-kpi-card {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .dashboard-signal-lab-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-data-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-panel,
    .dashboard-component-card,
    .dashboard-note-card,
    .dashboard-metric-card {
        padding: 1rem;
        border-radius: 20px;
    }

    .dashboard-panel--embedded {
        padding: 0.85rem;
    }

    .dashboard-panel__header {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .dashboard-container {
        padding: 0.5rem;
    }

    .dashboard-title {
        font-size: clamp(1.8rem, 11vw, 2.4rem);
    }

    .dashboard-hero,
    .dashboard-kpi-card,
    .dashboard-panel {
        border-radius: 18px;
    }
}

/* Error Page */
.error-page {
    text-align: center;
    padding: var(--spacing-2xl);
}

.error-page h1 {
    font-size: 4rem;
    color: var(--color-error);
    margin-bottom: var(--spacing-md);
}

.error-page h1 {
    font-size: 4rem;
    color: var(--color-error);
    margin-bottom: var(--spacing-md);
}

/* User Detail Page */
.user-detail-header {
    margin-bottom: var(--spacing-xl);
}

.user-detail-header h1 {
    margin-bottom: var(--spacing-xs);
}

.user-detail-header p {
    color: var(--color-text-secondary);
}

.user-details {
    background: var(--color-bg-secondary);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-xl);
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid var(--color-border);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-row .label {
    font-weight: 600;
    color: var(--color-text);
}

.detail-row .value {
    color: var(--color-text-secondary);
}

.user-actions {
    display: flex;
    gap: var(--spacing-md);
}

.user-actions {
    display: flex;
    gap: var(--spacing-md);
}

/* About Page */
.about-hero {
    text-align: center;
    padding: var(--spacing-2xl) 0;
    margin-bottom: var(--spacing-xl);
}

.about-hero h1 {
    font-size: var(--font-size-3xl);
    margin-bottom: var(--spacing-md);
}

.about-hero .lead {
    font-size: var(--font-size-lg);
    color: var(--color-text-secondary);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-section {
    margin-bottom: var(--spacing-2xl);
}

.about-section h2 {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-lg);
    color: var(--color-primary);
}

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

.feature-list li {
    padding: var(--spacing-sm) 0;
    font-size: var(--font-size-lg);
}

.tech-stack {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.tech-item {
    padding: var(--spacing-lg);
    background: var(--color-bg-secondary);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--transition-base);
}

.tech-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.tech-item h3 {
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
}

.cta-section {
    text-align: center;
    padding: var(--spacing-2xl);
    background: var(--color-bg-secondary);
    border-radius: var(--radius-lg);
}

.cta-section h2 {
    margin-bottom: var(--spacing-md);
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    margin-top: var(--spacing-xl);
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-muted {
    color: var(--color-text-secondary);
}

.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }
.mt-xl { margin-top: var(--spacing-xl); }

.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }
.mb-xl { margin-bottom: var(--spacing-xl); }

.hidden {
    display: none !important;
}

/* Responsive */
@media (max-width: 768px) {
    
}

@media (min-width: 769px) {
    
}

/* ============================================
   HOME PAGE STYLES
   ============================================ */

/* Hero Section */
.hero {
    background: #0f172a;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    width: 100%;
    left: auto;
    right: auto;
    margin-left: 0;
    margin-right: 0;
    padding: 6rem 2rem 5rem;
    box-sizing: border-box;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(16, 185, 129, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.08) 0%, transparent 40%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.hero-badge {
    display: inline-block;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 0.4rem 1.1rem;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #10b981;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.hero h1 {
    font-size: clamp(2.75rem, 5vw, 3.75rem);
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.12;
    color: #ffffff;
    margin: 0;
}

.hero-tagline {
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.65);
    max-width: 600px;
    margin: 0;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.75rem 1.75rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    cursor: pointer;
    border: none;
}

.hero-btn-primary {
    background: linear-gradient(135deg, #10b981, #3b82f6);
    color: #fff;
    box-shadow: 0 2px 12px rgba(16, 185, 129, 0.35);
}

.hero-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
    opacity: 0.92;
    color: #fff;
}

.hero-btn-ghost {
    background: transparent;
    color: rgba(255, 255, 255, 0.85);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
}

.hero-btn-ghost:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.hero-stats {
    display: flex;
    gap: 3rem;
    justify-content: center;
    flex-wrap: wrap;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

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

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    display: block;
    margin-bottom: 0.25rem;
    background: linear-gradient(135deg, #10b981, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 600;
}

/* Shared section layout helpers */
.section-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3.5rem;
}

.section-head h2 {
    font-size: clamp(1.9rem, 3.5vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.75px;
    line-height: 1.2;
    color: #0f172a;
    margin: 0 0 0.75rem;
}

.section-head p,
.section-head .subtitle,
.section-head .section-subtitle {
    font-size: 1.05rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Why NativeCore Section */
.why-section {
    background: #ffffff;
    padding: 6rem 2rem;
}

.why-cards {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.comparison-card {
    flex: 1;
    min-width: 280px;
    max-width: 460px;
    padding: 2.5rem;
    border-radius: 12px;
    background: white;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.comparison-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.09);
    border-color: #cbd5e1;
}

.comparison-card .card-icon {
    font-size: 2.25rem;
    text-align: center;
    display: block;
    margin-bottom: 1rem;
}

.comparison-card h3 {
    text-align: center;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 1.75rem;
    color: #0f172a;
}

.comparison-card .feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.comparison-card .feature-list li {
    padding-left: 1.4rem;
    position: relative;
    font-size: 0.97rem;
    color: #475569;
    line-height: 1.55;
}

.comparison-card .feature-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    font-weight: bold;
    line-height: 1.55;
}

.comparison-card.problem .feature-list li::before { color: #ef4444; }
.comparison-card.solution .feature-list li::before { color: #10b981; }

/* Features Section */
.features-section {
    padding: 6rem 2rem;
    background: #f8fafc;
    text-align: center;
}

.features-section .section-head h2 {
    color: #0f172a;
}

.features-section .subtitle {
    text-align: center;
    font-size: 1.05rem;
    color: #64748b;
    max-width: 600px;
    margin: 0.5rem auto 0;
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    padding: 2rem;
    background: white;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    text-align: left;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
    border-color: #cbd5e1;
}

.feature-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    color: #0f172a;
}

.feature-card p {
    font-size: 0.9rem;
    line-height: 1.65;
    color: #64748b;
    margin: 0;
}

/* Comparison Table Section */
.comparison-section {
    padding: 6rem 2rem;
    background: #ffffff;
    text-align: center;
}

.comparison-section .section-head h2 {
    color: #0f172a;
}

.comparison-section .subtitle {
    text-align: center;
    font-size: 1.05rem;
    color: #64748b;
    max-width: 600px;
    margin: 0.5rem auto 0;
    line-height: 1.6;
}

.comparison-table {
    max-width: 1100px;
    margin: 0 auto;
    overflow-x: auto;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06), 0 0 0 1px #e2e8f0;
}

.comparison-table th {
    background: #0f172a;
    color: white;
    padding: 1rem 1.25rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.comparison-table td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
    font-size: 0.95rem;
}

.comparison-table tbody tr:last-child td { border-bottom: none; }
.comparison-table tbody tr:hover { background: #f8fafc; }

.framework-name { font-weight: 700; color: #667eea; }
.check { color: #10b981; font-weight: bold; margin-right: 0.4rem; }
.cross { color: #ef4444; margin-right: 0.4rem; opacity: 0.7; }

/* Responsive */
@media (max-width: 768px) {
    .hero { padding: 4rem 1.5rem 3.5rem; }
    .hero-stats { gap: 2rem; }
    .why-section,
    .features-section,
    .comparison-section { padding: 4rem 1.25rem; }
    .why-cards { gap: 1.25rem; }
    .comparison-card { max-width: 100%; }
    .features-grid { grid-template-columns: 1fr; gap: 1rem; }
    .comparison-table {
        overflow: visible;
    }

    .comparison-table table,
    .comparison-table thead,
    .comparison-table tbody,
    .comparison-table tr,
    .comparison-table th,
    .comparison-table td {
        display: block;
        width: 100%;
    }

    .comparison-table thead {
        display: none;
    }

    .comparison-table table {
        background: transparent;
        box-shadow: none;
        border-radius: 0;
    }

    .comparison-table tbody {
        display: grid;
        gap: 1rem;
    }

    .comparison-table tr {
        background: white;
        border: 1px solid #e2e8f0;
        border-radius: 14px;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
        padding: 0.35rem 0;
        text-align: left;
    }

    .comparison-table td {
        display: grid;
        grid-template-columns: minmax(92px, 120px) minmax(0, 1fr);
        gap: 0.75rem;
        align-items: start;
        padding: 0.65rem 1rem;
        border-bottom: 1px solid #f1f5f9;
        font-size: 0.92rem;
    }

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

    .comparison-table td::before {
        content: attr(data-label);
        font-size: 0.72rem;
        font-weight: 700;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        color: #64748b;
    }
}

@keyframes metallic-shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: rgba(16, 185, 129, 0.12);
    padding: 0.4rem 1rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #10b981;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -1.5px;
    line-height: 1.15;
    color: #ffffff;
}

.hero-tagline {
    font-size: clamp(1rem, 2vw, 1.15rem);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    flex-wrap: wrap;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

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

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    display: block;
    margin-bottom: 0.25rem;
    background: linear-gradient(135deg, #10b981, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
}

/* Problem/Solution Section */
.problem-solution {
    padding: 5rem 2rem;
    position: relative;
    background: linear-gradient(180deg, #f9fafb 0%, #ffffff 100%);
}

.problem-solution::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(102, 126, 234, 0.05) 0%, transparent 30%),
        radial-gradient(circle at 90% 80%, rgba(118, 75, 162, 0.05) 0%, transparent 30%);
    pointer-events: none;
}

.problem-box, .solution-box {
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    background: white;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.problem-box:hover, .solution-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.problem-box {
    border-left: 4px solid var(--danger-color);
}

.solution-box {
    border-left: 4px solid var(--success-color);
}

.box-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    font-size: 24px;
    flex-shrink: 0;
}

.icon-badge.danger {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(220, 38, 38, 0.15) 100%);
}

.icon-badge.success {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(22, 163, 74, 0.15) 100%);
}

.box-header h3 {
    font-size: 1.5rem;
    margin: 0;
    color: var(--text-primary);
    font-weight: 700;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-list li {
    padding: 0;
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

.feature-list li strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Features Grid */
.features-section {
    display:flex;
    flex-direction:column;
    justify-content: center;
    align-items:center;
    padding: 4rem 2rem;
    width: 100%;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(16, 185, 129, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.features-section::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        transparent 45%,
        rgba(255, 255, 255, 0.08) 50%,
        transparent 55%,
        transparent 100%
    );
    animation: metallic-shimmer 15s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.features-section > * {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.comparison-section {
    display:flex;
    flex-direction:column;
    justify-content: center;
    align-items:center;
    padding: 4rem 2rem;
    width: 100%;
    position: relative;
    background: #f8fafc;
}

.comparison-section::before {
    content: none;
}

.comparison-section > * {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
}

.features-section h2, .comparison-section h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    text-align: center;
    margin-bottom: 0.75rem;
    font-weight: 800;
}

.features-section h2 {
    color: white;
}

.comparison-section h2 {
    color: var(--text);
}

.features-section .subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.comparison-section .subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    width: 100%;
    min-width: 0;
}

.feature-card {
    box-sizing: border-box;
    min-width: 0;
    padding: 1.75rem;
    background: white;
    border-radius: 8px;
    transition: all 0.2s ease;
    border: 1px solid #e2e8f0;
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    border-color: #cbd5e1;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Comparison Table */
.comparison-table {
    overflow-x: auto;
    margin-top: 2rem;
}

.comparison-table table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.comparison-table th {
    background: #0f172a;
    color: white;
    padding: 1rem 1.25rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.comparison-table th:last-child {
    border-right: none;
}

.comparison-table th:first-child {
    border-top-left-radius: var(--radius-lg);
}

.comparison-table th:last-child {
    border-top-right-radius: var(--radius-lg);
}

.comparison-table td {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    border-right: 1px solid rgba(0,0,0,0.05);
    color: var(--text-primary);
}

.comparison-table td:last-child {
    border-right: none;
}

.comparison-table tbody tr:nth-child(even) {
    background: rgba(0,0,0,0.02);
}

.comparison-table tbody tr:hover {
    background: rgba(102, 126, 234, 0.05);
}

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

.comparison-table tr:last-child td:first-child {
    border-bottom-left-radius: var(--radius-lg);
}

.comparison-table tr:last-child td:last-child {
    border-bottom-right-radius: var(--radius-lg);
}

.comparison-table small {
    display: block;
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
    font-weight: normal;
    opacity: 0.8;
}

.framework-name {
    font-weight: 700;
    color: #667eea !important;
    font-size: 1.05rem;
}

.check { 
    color: var(--success-color); 
    font-weight: bold; 
    font-size: 1.3rem;
    margin-right: 0.5rem;
}

.cross { 
    color: var(--danger-color); 
    font-size: 1.3rem;
    margin-right: 0.5rem;
    opacity: 0.7;
}

@media (max-width: 768px) {
    .hero {
        padding: 3rem 1.5rem 2rem;
    }

    .hero-actions {
        width: 100%;
        align-items: center;
    }

    .hero-actions nc-a {
        --nc-a-host-width: min(100%, 22rem);
        --nc-a-width: 100%;
    }

    .problem-solution-grid {
        gap: 2rem;
    }

    .features-section {
        padding: 4rem 1rem;
    }

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

    .feature-card {
        width: 100%;
        padding: 1.25rem;
    }
}

/* ============================================================
   COMPONENTS PAGE
   ============================================================ */

.components-coming-soon {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
}

.coming-soon-inner {
    text-align: center;
    max-width: 560px;
}

.coming-soon-badge {
    display: inline-block;
    padding: 0.3rem 0.9rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.25);
    margin-bottom: 1.5rem;
}

.components-coming-soon h1 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.components-coming-soon p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.coming-soon-stats {
    display: flex;
    gap: 3rem;
    justify-content: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cs-num {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, #10b981, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cs-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 600;
    margin-top: 0.2rem;
}

/* ============================================================
   COMPONENT DEMOS (components page shared layout)
   ============================================================ */

.components-demo {
    padding: var(--spacing-xl, 2rem);
    max-width: 900px;
    margin: 0 auto;
}

.demo-section {
    margin-bottom: 2.5rem;
}

.demo-section-title {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.demo-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.demo-row--align-center {
    align-items: center;
}

.demo-row--col {
    flex-direction: column;
    gap: 1.5rem;
}

/* Component card — wraps a single component demo with header + sections */
.demo-component {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: var(--background-secondary, var(--nc-bg-secondary));
    border: 1px solid var(--border-color, var(--nc-border));
    border-radius: var(--nc-radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
}

.demo-component + .demo-component {
    margin-top: 0;
}

.demo-component__header {
    margin-bottom: 1.75rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.demo-component__tag {
    display: inline-block;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: var(--font-mono, monospace);
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.demo-component__desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0.4rem 0 0.75rem;
}

.demo-component__usage {
    font-family: var(--font-mono, monospace);
    font-size: 0.8rem;
    color: var(--nc-primary);
    background: rgba(16, 185, 129, 0.07);
    border: 1px solid rgba(16, 185, 129, 0.15);
    border-radius: 6px;
    padding: 0.5rem 0.85rem;
    display: block;
}

.demo-component__usage-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.demo-component__usage-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-secondary);
    margin-bottom: 0.15rem;
}

.demo-section-desc {
    font-size: 0.82rem;
    color: var(--text-muted, var(--text-secondary));
    margin: -0.4rem 0 0.75rem;
    line-height: 1.5;
}


