/* CSS Variables - Light Blue-Green Palette */
:root {
    /* Primary Colors - Light Blue-Green Palette */
    --mint-100: #e6f7f1;
    --mint-200: #ccf0e3;
    --mint-300: #a7f3d0;
    --mint-400: #6ee7b7;
    --mint-500: #34d399;
    --mint-600: #10b981;
    --mint-700: #059669;
    
    --cyan-100: #e0f7fa;
    --cyan-200: #b2ebf2;
    --cyan-300: #67e8f9;
    --cyan-400: #22d3ee;
    --cyan-500: #06b6d4;
    --cyan-600: #0891b2;
    --cyan-700: #0e7490;
    
    /* Primary Colors (using cyan as primary) */
    --primary-100: #e0f7fa;
    --primary-600: #0891b2;
    --primary-700: #0e7490;
    
    /* Neutral Colors */
    --gray-50: #fafbfc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    
    /* Semantic Colors */
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --white: #ffffff;
    
    /* Typography */
    --font-display: "Apercu", sans-serif;
    --font-mono: "Fira Mono", monospace;
}

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

body {
    font-family: var(--font-display);
    background: var(--gray-50);
    color: var(--gray-800);
    display: flex;
    min-height: 100vh;
}

/* Top Navbar */
.top-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 32px;
    background: #334155;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
}

.sidebar-toggle {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 12px;
}

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

.breadcrumb {
    font-family: 'Fira Mono', monospace;
    font-size: 12px;
    font-weight: 400;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
}

.breadcrumb-separator {
    margin: 0 8px;
    opacity: 0.6;
}

/* Hero Section */
.hero-section {
    padding: 80px 0 80px 0;
    max-width: 800px;
}

.hero-breadcrumb {
    font-size: 14px;
    color: var(--gray-600);
    margin-bottom: 40px;
}

.hero-breadcrumb .breadcrumb-separator {
    margin: 0 8px;
}

.hero-title {
    font-size: 48px;
    font-weight: 600;
    line-height: 1.1;
    color: var(--gray-900);
    margin-bottom: 24px;
}

.hero-highlight {
    background: linear-gradient(135deg, var(--mint-400), var(--cyan-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding: 8px 16px;
    border-radius: 12px;
    position: relative;
}

.hero-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--mint-400), var(--cyan-400));
    opacity: 0.1;
    border-radius: 12px;
    z-index: -1;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 32px;
}

.hero-cta:hover {
    background: var(--gray-700);
}

/* Sidebar */
.sidebar {
    width: 280px;
    background: linear-gradient(135deg, var(--mint-400), var(--cyan-400));
    border-right: 1px solid var(--gray-200);
    padding: 0;
    position: fixed;
    top: 32px;
    height: calc(100vh - 32px);
    overflow-y: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.sidebar.collapsed {
    transform: translateX(-100%);
}

.sidebar-header {
    padding: 24px 20px 20px 20px;
    border-bottom: none;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sidebar .search-input {
    margin-bottom: 4px;
    width: 100%;
    max-width: 240px;
}

.sidebar .search-input input {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 1);
    color: var(--gray-900);
    backdrop-filter: blur(10px);
    padding: 8px 40px 8px 12px;
}

.sidebar .search-input input::placeholder {
    color: var(--gray-600);
}

.sidebar .search-input .search-icon {
    color: var(--gray-600);
    right: 12px;
    left: auto;
}

.header-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 16px;
    text-align: left;
}

.sidebar-header::after {
    display: none;
}

.sidebar-header::before {
    display: none;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.hero-content {
    text-align: left;
    margin-bottom: 0;
}

.hero-eyebrow {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-900);
    font-family: var(--font-mono);
    margin-bottom: 8px;
}

.hero-description {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.5;
    margin-bottom: 0;
}

.sidebar .hero-title {
    font-size: 20px;
    font-weight: 500;
    color: black;
    margin-bottom: 8px;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
}

.logo-icon {
    width: 64px;
    height: 64px;
}

.logo-text {
    font-size: 18px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--mint-600), var(--cyan-600));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    list-style: none;
    padding: 0;
    flex-shrink: 0;
    background: transparent;
    margin: 0;
    border-radius: 0;
}

.nav-item {
    margin: 0;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    color: var(--gray-900);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.2s ease;
    background: transparent;
    margin: 0;
    border-radius: 0;
    width: 100%;
    box-sizing: border-box;
}

.nav-link:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--gray-900);
}

.nav-link.active {
    background: rgba(0, 0, 0, 0.08);
    color: var(--gray-900);
    font-weight: 500;
}

.nav-link svg {
    width: 16px;
    height: 16px;
    opacity: 1;
}

.nav-section {
    background: rgba(255, 255, 255, 0.9);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0 0 16px 0;
    margin: 0;
    min-height: 100%;
}

.profile-section {
    display: flex;
    align-items: flex-start;
    padding: 8px 16px 16px 16px;
    margin-bottom: 16px;
    gap: 4px;
}

.profile-avatar {
    width: 48px;
    height: 48px;
    background: var(--gray-700);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}

.profile-avatar svg {
    stroke: white;
    width: 24px;
    height: 24px;
}

.profile-info {
    flex: 1;
}

.profile-name {
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-900);
    margin-bottom: 3px;
}

.profile-alias {
    font-weight: 400;
}

.profile-role {
    font-size: 13px;
    color: var(--gray-600);
}

.profile-actions {
    display: flex;
    gap: 8px;
    margin-top: 2px;
    justify-content: flex-end;
    padding: 0;
}

.profile-action-btn {
    background: rgba(0, 0, 0, 0.05);
    border: none;
    padding: 6px;
    border-radius: 8px;
    cursor: pointer;
    color: var(--gray-500);
    transition: all 0.2s ease;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.profile-action-btn::after {
    content: attr(data-tooltip);
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gray-900);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.profile-action-btn:hover::after {
    opacity: 1;
}

.profile-action-btn svg {
    width: 20px;
    height: 20px;
}

.profile-action-btn:hover {
    background: rgba(0, 0, 0, 0.1);
}

.profile-search-bar {
    margin-top: 12px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.profile-search-input {
    width: calc(100% - 24px);
    padding: 8px 12px;
    border: 1px solid var(--gray-300);
    border-radius: 6px;
    font-size: 14px;
    font-family: 'Apercu', sans-serif;
    background: white;
    transition: border-color 0.2s ease;
    margin: 0 auto;
    display: block;
}

.profile-search-input:focus {
    outline: none;
    border-color: var(--mint-500);
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.1);
}

.nav-section-header {
    font-family: 'Fira Mono', monospace;
    font-size: 12px;
    font-weight: 400;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 16px 0;
    padding: 0 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-link-content {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 0;
    border-radius: 20px;
    transition: background 0.2s ease, width 0.2s ease;
    width: 260px;
}

.nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 16px;
    color: var(--gray-900);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.2s ease;
    background: transparent;
    margin: 0;
    border-radius: 0;
    width: 100%;
    box-sizing: border-box;
    position: relative;
}

.nav-link-content span {
    padding: 4px 12px;
    border-radius: 16px;
    transition: background 0.2s ease;
}

.nav-link:hover {
    background: transparent;
    color: var(--gray-900);
}

.nav-link:hover .nav-link-content {
    background: linear-gradient(135deg, rgba(103, 232, 249, 0.3), rgba(167, 243, 208, 0.3));
    border-radius: 20px;
    padding: 0;
    width: 260px;
}

.nav-link:hover .nav-link-content svg {
    background: transparent !important;
    padding: 8px !important;
}

.nav-link.active {
    background: transparent;
    color: var(--gray-900);
    font-weight: 400;
}

.nav-link.active .nav-link-content {
    background: linear-gradient(135deg, rgba(103, 232, 249, 0.3), rgba(167, 243, 208, 0.3));
    border-radius: 20px;
    border: 1px solid transparent;
}

.nav-link.active .nav-link-content svg {
    background: linear-gradient(135deg, var(--cyan-500), var(--mint-500)) !important;
    stroke: white !important;
    color: white !important;
}

.nav-link.active:hover .nav-link-content {
    border: 1px solid rgba(103, 232, 249, 0.6);
}

.dropdown-arrow {
    margin-left: auto;
    transition: transform 0.2s ease;
    stroke: var(--gray-600);
}

.nav-item.open .dropdown-arrow {
    transform: rotate(180deg);
}

.nav-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
    margin: 12px 16px;
}

.nav-link-content svg {
    width: 32px !important;
    height: 32px !important;
    padding: 8px;
    background: linear-gradient(135deg, rgba(103, 232, 249, 0.3), rgba(167, 243, 208, 0.3));
    border-radius: 50%;
    color: transparent !important;
    flex-shrink: 0;
    stroke: url(#iconGradient) !important;
    stroke-width: 2 !important;
    fill: none !important;
}

.accordion-arrow {
    transition: transform 0.2s ease;
}

.nav-item.open .accordion-arrow {
    transform: rotate(180deg);
}

.nav-submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
}

.nav-item.open .nav-submenu {
    max-height: 200px;
}

.nav-sublink {
    display: block;
    padding: 8px 24px;
    color: var(--gray-700);
    text-decoration: none;
    font-size: 13px;
    transition: all 0.2s ease;
}

.nav-sublink:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--gray-900);
}

/* Template Page Styles */
.template-section {
    margin-bottom: 48px;
}

.template-section h2 {
    font-size: 24px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.template-section p {
    color: var(--gray-600);
    margin-bottom: 24px;
}

.template-preview {
    display: grid;
    gap: 24px;
}

.template-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.2s ease;
}

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

.template-image {
    height: 200px;
    background: var(--gray-50);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.template-info {
    padding: 20px;
}

.template-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.template-info p {
    color: var(--gray-600);
    margin-bottom: 16px;
}

.template-actions {
    display: flex;
    gap: 12px;
}

.btn-primary, .btn-secondary {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

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

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

.btn-secondary {
    background: transparent;
    color: var(--gray-700);
    border: 1px solid var(--gray-300);
}

.btn-secondary:hover {
    background: var(--gray-50);
}

/* Template Mockups */
.dashboard-mockup {
    display: flex;
    width: 160px;
    height: 100px;
    background: white;
    border-radius: 4px;
    overflow: hidden;
}

.mockup-sidebar {
    width: 30px;
    background: var(--gray-800);
}

.mockup-content {
    flex: 1;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mockup-header {
    height: 8px;
    background: var(--gray-200);
    border-radius: 2px;
}

.mockup-cards {
    display: flex;
    gap: 4px;
}

.mockup-card {
    flex: 1;
    height: 20px;
    background: var(--primary-100);
    border-radius: 2px;
}

.mockup-chart {
    flex: 1;
    background: var(--gray-100);
    border-radius: 2px;
}

.content-mockup {
    width: 160px;
    height: 100px;
    background: white;
    border-radius: 4px;
    padding: 12px;
}

.mockup-header-bar {
    height: 6px;
    background: var(--primary-600);
    border-radius: 2px;
    margin-bottom: 8px;
}

.mockup-content-area {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.mockup-text-line {
    height: 3px;
    background: var(--gray-200);
    border-radius: 1px;
}

.mockup-text-line.long { width: 100%; }
.mockup-text-line.medium { width: 75%; }
.mockup-text-line.short { width: 50%; }

.mockup-image-placeholder {
    height: 20px;
    background: var(--gray-100);
    border-radius: 2px;
    margin: 4px 0;
}

.grid-mockup {
    width: 160px;
    height: 100px;
    background: white;
    border-radius: 4px;
    padding: 8px;
}

.mockup-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    height: 100%;
}

.mockup-grid-item {
    background: var(--gray-100);
    border-radius: 2px;
}

/* Template Designs */
.template-design {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 24px;
    margin-top: 24px;
}

/* Dashboard Template */
.dashboard-layout {
    max-width: 100%;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--gray-200);
}

.dashboard-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

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

.btn-small {
    padding: 6px 12px;
    font-size: 12px;
    border: 1px solid var(--gray-300);
    background: white;
    border-radius: 4px;
    cursor: pointer;
}

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

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.metric-card {
    background: var(--gray-50);
    padding: 16px;
    border-radius: 8px;
    border: 1px solid var(--gray-200);
}

.metric-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-900);
}

.metric-label {
    font-size: 12px;
    color: var(--gray-600);
    margin: 4px 0;
}

.metric-change {
    font-size: 12px;
    font-weight: 500;
}

.metric-change.positive { color: #059669; }
.metric-change.negative { color: #dc2626; }

.chart-area {
    background: var(--gray-50);
    border-radius: 8px;
    padding: 16px;
}

.chart-title {
    font-weight: 600;
    margin-bottom: 16px;
}

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

.bar {
    background: var(--primary-500);
    width: 20px;
    border-radius: 2px 2px 0 0;
    min-height: 10px;
}

/* Content Template */
.content-layout {
    max-width: 700px;
}

.content-header {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--gray-200);
}

.content-meta {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.content-category {
    background: var(--primary-100);
    color: var(--primary-700);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.content-date {
    color: var(--gray-500);
    font-size: 12px;
}

.content-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.content-subtitle {
    color: var(--gray-600);
    font-size: 16px;
    margin: 0;
}

.content-body h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 24px 0 12px 0;
}

.content-body ul {
    margin: 12px 0;
    padding-left: 20px;
}

.content-body li {
    margin: 4px 0;
}

.content-callout {
    background: var(--primary-50);
    border-left: 4px solid var(--primary-500);
    padding: 12px 16px;
    margin: 16px 0;
    border-radius: 0 4px 4px 0;
}

/* Grid Template */
.grid-layout {
    max-width: 100%;
}

.grid-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--gray-200);
}

.grid-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.grid-filters {
    display: flex;
    gap: 4px;
}

.filter-btn {
    padding: 6px 12px;
    font-size: 12px;
    border: 1px solid var(--gray-300);
    background: white;
    border-radius: 4px;
    cursor: pointer;
}

.filter-btn.active {
    background: var(--primary-600);
    color: white;
    border-color: var(--primary-600);
}

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

.component-card {
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    overflow: hidden;
}

.component-preview {
    background: var(--gray-50);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
}

.preview-btn {
    background: var(--primary-600);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
}

.preview-input {
    border: 1px solid var(--gray-300);
    padding: 8px 12px;
    border-radius: 4px;
    width: 120px;
}

.card-preview {
    padding: 16px;
}

.mini-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 4px;
    width: 80px;
    height: 60px;
    padding: 8px;
}

.mini-card-header {
    background: var(--gray-200);
    height: 8px;
    border-radius: 2px;
    margin-bottom: 4px;
}

.mini-card-content {
    background: var(--gray-100);
    height: 20px;
    border-radius: 2px;
}

.preview-toggle {
    width: 40px;
    height: 20px;
    background: var(--primary-600);
    border-radius: 10px;
    position: relative;
}

.toggle-switch {
    width: 16px;
    height: 16px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    right: 2px;
}

.component-info {
    padding: 12px;
}

.component-info h4 {
    margin: 0 0 4px 0;
    font-size: 14px;
    font-weight: 600;
}

.component-info p {
    margin: 0;
    font-size: 12px;
    color: var(--gray-600);
}

/* Journey Data Visualizations */
.journey-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    width: 100%;
}

.category-card {
    padding: 20px;
    border-radius: 8px;
    color: white;
}

.category-card.category-a {
    background: var(--mint-500);
}

.category-card.category-b {
    background: var(--cyan-500);
}

.category-card.category-c {
    background: var(--primary-600);
}

.category-card h4 {
    margin: 0 0 12px 0;
    font-size: 16px;
    font-weight: 600;
}

.category-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.category-card li {
    margin: 8px 0;
    font-size: 13px;
    opacity: 0.9;
}

.donut-chart {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.donut-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    pointer-events: none;
    font-family: var(--font-mono);
}

.donut-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-900);
}

.donut-label {
    font-size: 12px;
    color: var(--gray-600);
}

.donut-legend {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 2px;
}

.legend-color.mint {
    background: var(--mint-400);
}

.legend-color.cyan {
    background: var(--cyan-400);
}

.legend-color.primary {
    background: var(--primary-600);
}

.flow-chart {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 20px 0;
}

.flow-step {
    background: var(--gray-100);
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    padding: 12px 16px;
    min-width: 80px;
    text-align: center;
    position: relative;
}

.flow-step.start {
    background: var(--mint-100);
    border-color: var(--mint-400);
    color: var(--mint-700);
}

.flow-step.active {
    background: var(--primary-100);
    border-color: var(--primary-600);
    color: var(--primary-700);
}

.flow-step.end {
    background: var(--cyan-100);
    border-color: var(--cyan-400);
    color: var(--cyan-700);
}

.step-content {
    font-size: 14px;
    font-weight: 500;
}

.flow-connector {
    width: 24px;
    height: 2px;
    background: var(--gray-300);
    margin: 0 -1px;
}

.journey-path {
    width: 100%;
    position: relative;
}

.journey-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    padding: 0 50px;
}

.journey-label {
    font-size: 12px;
    color: var(--gray-600);
    text-align: center;
    flex: 1;
}

/* Multi-Layer Chart */
.multi-chart {
    display: flex;
    align-items: center;
    gap: 24px;
    justify-content: center;
}

.multi-chart-legend {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.multi-chart-legend .legend-color {
    width: 12px;
    height: 12px;
    border-radius: 2px;
}

.multi-chart-legend .legend-color.primary {
    background: var(--cyan-700) !important;
}

.multi-chart-legend .legend-color.cyan-dark {
    background: var(--cyan-500);
}

.multi-chart-legend .legend-color.mint-dark {
    background: var(--cyan-300);
}

.multi-chart-legend .legend-color.mint-light {
    background: var(--mint-500);
}

/* Horizontal Gauge */
.gauge-chart {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 500px;
}

.gauge-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.gauge-label {
    font-size: 14px;
    color: var(--gray-700);
    min-width: 80px;
    text-align: left;
}

.gauge-bar-container {
    flex: 1;
    position: relative;
    height: 20px;
}

.gauge-bar-bg {
    width: 100%;
    height: 100%;
    background: var(--gray-200);
    border-radius: 10px;
}

.gauge-bar-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    border-radius: 10px;
    transition: width 0.3s ease;
}

.gauge-bar-fill[data-color="cyan-700"] {
    background: var(--cyan-700);
}

.gauge-bar-fill[data-color="cyan-500"] {
    background: var(--cyan-500);
}

.gauge-bar-fill[data-color="mint-500"] {
    background: var(--mint-500);
}

.gauge-value {
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    min-width: 40px;
    text-align: right;
}

/* Trend Charts */
.trend-charts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    width: 100%;
}

.trend-chart {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    padding: 16px;
}

.trend-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-900);
    margin: 0 0 16px 0;
    text-align: center;
}

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

/* Comparison Table */
.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: transparent;
}

.comparison-table th,
.comparison-table td {
    padding: 20px;
    border: none;
    border-right: 1px solid;
    border-bottom: 1px solid;
    border-image: linear-gradient(90deg, var(--mint-300), var(--cyan-300)) 1;
    text-align: left;
    vertical-align: top;
    background: var(--gray-50);
    font-size: 14px;
    line-height: 1.5;
    color: var(--gray-700);
}

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

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

.comparison-table th {
    background: var(--gray-50);
    text-align: center;
    font-weight: 600;
    color: var(--gray-900);
}

.comparison-table .row-header {
    background: var(--gray-50);
    font-weight: 600;
    color: var(--gray-700);
    width: 150px;
    font-size: 14px;
}

.comparison-table td:not(.row-header) {
    background: var(--gray-50);
}

.comparison-table h4 {
    margin: 8px 0 0 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-900);
}

.comparison-table ul {
    margin: 0;
    padding-left: 16px;
}

.comparison-table li {
    margin: 4px 0;
    font-size: 14px;
    line-height: 1.5;
}

.comparison-table a {
    color: var(--cyan-600);
    text-decoration: underline;
}

.comparison-table a:hover {
    color: var(--cyan-700);
}

.skill-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.skill-badge.intermediate {
    background: var(--mint-200);
    color: var(--mint-700);
}

.skill-badge.beginner {
    background: var(--cyan-200);
    color: var(--cyan-700);
}

.table-cell p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--gray-700);
}

.table-cell ul {
    margin: 0;
    padding-left: 16px;
}

.table-cell li {
    font-size: 14px;
    line-height: 1.5;
    color: var(--gray-700);
    margin: 4px 0;
}

.table-cell a {
    color: var(--cyan-600);
    text-decoration: underline;
}

.table-cell a:hover {
    color: var(--cyan-700);
}

@media (max-width: 768px) {
    .table-header-row,
    .table-row {
        grid-template-columns: 1fr;
    }
    
    .table-cell {
        border-right: none;
        border-bottom: 1px solid var(--gray-200);
    }
    
    .row-header {
        background: var(--gray-100);
        border-right: none;
        border-bottom: 2px solid var(--gray-300);
        font-weight: 700;
    }
}

/* Data Components */
.data-table {
    width: 100%;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    overflow: hidden;
}

.table-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
}

.table-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    border-bottom: 1px solid var(--gray-100);
}

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

.table-cell {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    font-size: 14px;
}

.table-header .table-cell {
    font-weight: 600;
    color: var(--gray-700);
}

.status-badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.status-badge.active {
    background: #dcfce7;
    color: #166534;
}

.status-badge.pending {
    background: #fef3c7;
    color: #92400e;
}

.progress-bar {
    width: 80px;
    height: 6px;
    background: var(--gray-200);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--mint-500), var(--cyan-500));
    border-radius: 3px;
    transition: width 0.3s ease;
}

.stat-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    padding: 16px;
    text-align: center;
    min-width: 120px;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 12px;
    color: var(--gray-600);
    margin-bottom: 8px;
}

.stat-change {
    font-size: 12px;
    font-weight: 500;
}

.stat-change.positive {
    color: #059669;
}

.stat-change.negative {
    color: #dc2626;
}

.progress-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 400px;
}

.progress-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.progress-label {
    font-size: 14px;
    color: var(--gray-700);
    min-width: 120px;
}

.progress-item .progress-bar {
    flex: 1;
    width: auto;
}

.progress-percent {
    font-size: 12px;
    color: var(--gray-600);
    min-width: 35px;
    text-align: right;
}

.nav-link.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: white;
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    width: auto;
    justify-content: center;
    white-space: nowrap;
}

.nav-btn.active {
    background: var(--gray-900);
    color: white;
}

.nav-item.active::after {
    content: '';
    position: absolute;
    right: 24px;
    width: 6px;
    height: 6px;
    background: var(--mint-500);
    border-radius: 50%;
}

.nav-icon {
    font-size: 18px;
    width: 20px;
}

.nav-text {
    font-weight: 400;
    font-size: 14px;
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: 280px;
    margin-top: 32px;
    padding: 40px 60px;
    max-width: calc(100vw - 280px);
    transition: margin-left 0.3s ease, max-width 0.3s ease;
}

.main-content.expanded {
    margin-left: 0;
    max-width: 100vw;
}

/* Page Header */
.page-header {
    margin-bottom: 48px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 14px;
    color: var(--gray-500);
}

.breadcrumb-separator {
    color: var(--gray-400);
}

.breadcrumb-current {
    color: var(--gray-700);
    font-weight: 500;
}

.page-title {
    font-size: 48px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 12px;
    line-height: 1.1;
}

.page-subtitle {
    font-size: 20px;
    color: var(--gray-600);
    line-height: 1.5;
}

/* Sections */
.section {
    margin-bottom: 64px;
}

.section-title {
    font-size: 32px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 32px;
}

/* Color Palette */
.color-section {
    margin-bottom: 48px;
}

.color-section-title {
    font-size: 20px;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 24px;
}

.color-gradient {
    margin-bottom: 24px;
}

.gradient-bar {
    height: 80px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.primary-gradient {
    background: linear-gradient(90deg, 
        var(--mint-300) 0%, 
        var(--mint-500) 25%, 
        var(--cyan-400) 50%, 
        var(--cyan-500) 75%, 
        var(--cyan-700) 100%);
}

.color-swatches {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
}

.color-swatch {
    background: var(--white);
    border-radius: 12px;
    padding: 16px;
    border: 1px solid var(--gray-200);
    text-align: center;
}

.swatch {
    width: 100%;
    height: 60px;
    border-radius: 8px;
    margin-bottom: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Color Swatch Definitions */
.mint-100 { background: var(--mint-100); }
.mint-300 { background: var(--mint-300); }
.mint-500 { background: var(--mint-500); }
.cyan-300 { background: var(--cyan-300); }
.cyan-500 { background: var(--cyan-500); }
.cyan-700 { background: var(--cyan-700); }
.gray-50 { background: var(--gray-50); border: 1px solid var(--gray-200); }
.gray-100 { background: var(--gray-100); }
.gray-300 { background: var(--gray-300); }
.gray-500 { background: var(--gray-500); }
.gray-700 { background: var(--gray-700); }
.gray-900 { background: var(--gray-900); }

.swatch-name {
    font-weight: 500;
    color: var(--gray-700);
    font-size: 14px;
    margin-bottom: 4px;
}

.swatch-hex {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--gray-500);
}

/* Typography */
.typography-samples {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.type-sample {
    padding: 24px;
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--gray-200);
}

.sample-text.h1 {
    font-size: 36px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--gray-900);
}

.sample-text.h2 {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--gray-900);
}

.sample-text.h3 {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--gray-800);
}

.sample-text.body {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--gray-700);
}

.sample-text.caption {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--gray-600);
}

.sample-text.code {
    font-family: var(--font-mono);
    font-size: 14px;
    background: var(--gray-100);
    padding: 8px 12px;
    border-radius: 6px;
    color: var(--gray-800);
}

.sample-text.eyebrow {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-900);
    font-family: var(--font-mono);
}

.type-specs {
    margin-top: 12px;
    font-size: 12px;
    color: var(--gray-500);
    font-family: var(--font-mono);
}

/* Components */
.component-group {
    margin-bottom: 48px;
}

.component-title {
    font-size: 24px;
    font-weight: 500;
    color: var(--gray-800);
    margin-bottom: 24px;
}

.component-showcase {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-start;
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 400;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    font-family: var(--font-display);
}

.btn-primary {
    background: var(--cyan-500);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--cyan-600);
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--mint-500);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--mint-600);
    transform: translateY(-1px);
}

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

.btn-outline:hover {
    background: var(--primary-600);
    color: white;
    border-color: var(--primary-600);
}

.btn-ghost {
    background: transparent;
    color: var(--gray-600);
}

.btn-ghost:hover {
    background: var(--gray-100);
}

/* Pill Buttons */
.btn-pill {
    border-radius: 50px;
    background: #111827;
    color: white;
    border: none;
    outline: none;
    white-space: nowrap;
}

.btn-pill:hover {
    background: #1f2937;
    outline: none;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
}

.btn-pill:focus {
    outline: none;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
}

.btn-pill-outline {
    border-radius: 50px;
    background: transparent;
    color: #334155;
    border: 1px solid #334155;
    outline: none;
    white-space: nowrap;
}

.btn-pill-outline:hover {
    outline: none;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.btn-pill:active {
    transform: none;
}

.btn-pill-outline:active {
    transform: none;
}

.btn-pill-icon {
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* Cards */
.card {
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    padding: 24px;
    max-width: 320px;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.15), 0 4px 12px rgba(6, 182, 212, 0.1);
    border-color: var(--mint-200);
}



.card-tag {
    display: inline-block;
    background: var(--gray-100);
    color: var(--gray-700);
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 16px;
}

.card-tag.mint {
    background: var(--mint-100);
    color: var(--mint-700);
}

.card-title {
    font-size: 18px;
    font-weight: 500;
    color: var(--gray-800);
    margin-bottom: 8px;
    line-height: 1.4;
}

.card-body {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.5;
    margin-bottom: 16px;
}

.card-footer {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: var(--gray-500);
    margin-bottom: 56px;
}

.card-arrow {
    position: absolute;
    bottom: 24px;
    left: 24px;
    font-size: 32px;
    color: #0f172a;
    transition: all 0.6s ease-in-out;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card:hover .card-arrow {
    left: 40px;
}

.card-arrow::before {
    content: "";
    font-size: 14px;
    font-weight: 500;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.6s ease-in-out;
    white-space: nowrap;
}

.card:hover .card-arrow::before {
    content: "Click here";
    opacity: 1;
    transform: translateX(0);
}

/* Card with Image */
.card-with-image {
    padding: 0;
    overflow: hidden;
    max-width: 320px;
}

.card-image {
    width: 100%;
    height: 160px;
    overflow: hidden;
    position: relative;
}

.image-placeholder-card {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--mint-100), var(--cyan-100));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    font-size: 14px;
}

.card-content {
    padding: 24px;
}

/* Card with Icon */
.card-with-icon {
    padding: 0;
    overflow: hidden;
}

.card-icon {
    width: 100%;
    height: 120px;
    overflow: hidden;
    position: relative;
}

.icon-placeholder-card {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--mint-100), var(--cyan-100));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
}

/* Card overlay tag */
.card-overlay-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 1;
}

/* Dashboard Specific Styles */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 24px;
    background: linear-gradient(135deg, var(--gray-50), var(--gray-100));
    border-radius: 12px;
    border: 1px solid var(--gray-200);
}

.dashboard-title-section {
    flex: 1;
}

.dashboard-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--gray-900);
    margin: 8px 0 4px 0;
}

.dashboard-subtitle {
    font-size: 16px;
    color: var(--gray-600);
    margin: 0;
}

.dashboard-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
}

.dashboard-actions .main-buttons {
    display: flex;
    gap: 12px;
}

.quick-actions-inline {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

/* Dashboard Metrics */
.dashboard-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 24px 0;
}

.metric-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 24px 0;
    text-align: center;
}

.metric-item.primary .metric-icon {
    background: linear-gradient(135deg, var(--mint-400), var(--cyan-400));
    color: white;
}

.metric-icon {
    width: 48px;
    height: 48px;
    background: var(--gray-100);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
}

.metric-card.primary .metric-icon {
    background: linear-gradient(135deg, var(--mint-400), var(--cyan-400));
    color: white;
}

.metric-content {
    flex: 1;
}

.metric-value {
    font-size: 48px;
    font-weight: 700;
    background: linear-gradient(90deg, var(--mint-500), var(--cyan-500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    line-height: 1;
    margin-bottom: 4px;
}

.metric-label {
    font-size: 14px;
    color: var(--gray-600);
    font-weight: 500;
    margin-bottom: 4px;
}

.metric-change {
    font-size: 12px;
    font-weight: 500;
}

.metric-change.positive {
    color: #10b981;
}

.metric-change.neutral {
    color: var(--gray-500);
}

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

.chart-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 24px;
}

.chart-card.large {
    grid-column: span 1;
}

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

.chart-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-900);
    margin: 0;
}

.chart-controls {
    display: flex;
    gap: 4px;
}

.chart-control {
    padding: 6px 12px;
    border: 1px solid var(--gray-300);
    background: white;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.2s ease;
}

.chart-control.active {
    background: var(--gray-900);
    color: white;
    border-color: var(--gray-900);
}

.chart-content {
    margin: 20px 0;
}

.chart-stats {
    display: flex;
    gap: 32px;
    margin-top: 16px;
}

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

.stat-item .stat-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-900);
}

.stat-item .stat-label {
    font-size: 12px;
    color: var(--gray-500);
    font-weight: 500;
}

/* Status Chart */
.status-chart {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.status-indicator.pending {
    background: #f59e0b;
}

.status-indicator.completed {
    background: #10b981;
}

.status-indicator.overdue {
    background: #ef4444;
}

.status-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 80px;
}

.status-label {
    font-size: 12px;
    color: var(--gray-600);
    font-weight: 500;
}

.status-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-900);
}

.status-bar {
    flex: 1;
    height: 6px;
    background: var(--gray-200);
    border-radius: 3px;
    overflow: hidden;
}

.status-fill {
    height: 100%;
    background: linear-gradient(135deg, var(--mint-400), var(--cyan-400));
    border-radius: 3px;
    transition: width 0.3s ease;
}

/* Dashboard Actions Panel */
.dashboard-actions-panel {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 24px;
    margin: 24px 0;
}

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

.actions-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-900);
    margin: 0;
}

.actions-grid {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.circle-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.action-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.action-card:hover {
    background: var(--gray-100);
    border-color: var(--gray-300);
    transform: translateY(-1px);
}

.action-card.featured {
    background: linear-gradient(135deg, var(--mint-50), var(--cyan-50));
    border-color: var(--mint-200);
}

.action-card.featured:hover {
    background: linear-gradient(135deg, var(--mint-100), var(--cyan-100));
    border-color: var(--mint-300);
}

.action-icon {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    border: 1px solid var(--gray-200);
}

.action-card.featured .action-icon {
    background: linear-gradient(135deg, var(--mint-400), var(--cyan-400));
    color: white;
    border-color: transparent;
}

.action-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.action-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-900);
}

.action-subtitle {
    font-size: 12px;
    color: var(--gray-600);
}

/* Responsive Design */
@media (max-width: 768px) {
    .dashboard-header {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }
    
    .dashboard-charts {
        grid-template-columns: 1fr;
    }
    
    .dashboard-metrics {
        grid-template-columns: 1fr;
    }
    
    .actions-grid {
        grid-template-columns: 1fr;
    }
    
    .chart-stats {
        flex-direction: column;
        gap: 16px;
    }
}
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: var(--gray-200);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 12px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--mint-500) 0%, var(--cyan-500) 100%);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--gray-500);
}

/* Form Elements */
.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 8px;
    font-size: 14px;
}

.form-input {
    width: 200px;
    padding: 10px 12px;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    font-size: 14px;
    font-family: var(--font-display);
    transition: border-color 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: var(--cyan-500);
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
}

.search-input {
    position: relative;
    width: 250px;
}

.search-input input {
    width: 100%;
    padding: 10px 12px 10px 40px;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    font-size: 14px;
    font-family: var(--font-display);
    transition: border-color 0.2s;
}

.search-input input:focus {
    outline: none;
    border-color: var(--cyan-500);
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
}

.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
}

.filter-tabs {
    display: flex;
    gap: 8px;
}

.filter-tab {
    padding: 8px 16px;
    border: 1px solid var(--gray-300);
    background: white;
    border-radius: 20px;
    font-size: 14px;
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font-display);
}

.filter-tab.active {
    background: var(--cyan-500);
    color: white;
    border-color: var(--cyan-500);
}

.filter-tab:hover:not(.active) {
    background: var(--gray-50);
    border-color: var(--gray-400);
}

/* Tags & Badges */
.tag-group, .badge-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    background: var(--gray-100);
    color: var(--gray-700);
}

.tag.mint {
    background: var(--mint-100);
    color: var(--mint-700);
}

.tag.cyan {
    background: var(--cyan-100);
    color: var(--cyan-700);
}

.tag.success {
    background: #dcfce7;
    color: #16a34a;
}

.tag.warning {
    background: #fef3c7;
    color: #d97706;
}

.tag.error {
    background: #fee2e2;
    color: #dc2626;
}

.tag.gradient {
    background: linear-gradient(135deg, var(--mint-400), var(--cyan-400));
    color: white;
}

/* Mono Tags */
.tag-mono {
    display: inline-block;
    padding: 4px 8px;
    background: var(--gray-100);
    color: var(--gray-700);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    font-family: var(--font-mono);
    margin: 2px;
}

.tag-mono.mint {
    background: var(--mint-100);
    color: var(--mint-700);
}

.tag-mono.cyan {
    background: var(--cyan-100);
    color: var(--cyan-700);
}

.tag-mono.success {
    background: var(--green-100);
    color: var(--green-700);
}

.tag-mono.warning {
    background: var(--yellow-100);
    color: var(--yellow-700);
}

.tag-mono.error {
    background: var(--red-100);
    color: var(--red-700);
}

/* Gradient Tag */
.tag-gradient {
    display: inline-block;
    padding: 4px 8px;
    background: linear-gradient(135deg, var(--mint-400), var(--cyan-400));
    color: white;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    font-family: var(--font-mono);
    margin: 2px 2px 16px 2px;
}

/* Tables */
.table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    font-size: 13px;
}

.table thead {
    background: var(--gray-900);
}

.table th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 400;
    color: white;
    font-size: 16px;
}

.table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--gray-200);
    font-size: 14px;
    color: var(--gray-700);
    vertical-align: top;
}

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

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

/* Table Controls */
.table-controls {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

/* Cell Content */
.cell-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cell-title {
    font-weight: 400;
    color: var(--gray-900);
    font-size: 16px;
}

.cell-description {
    font-size: 14px;
    font-weight: 400;
    color: var(--gray-600);
    line-height: 1.5;
}

/* Section Dividers */
.section-divider {
    width: 95%;
    height: 1px;
    background: linear-gradient(90deg, var(--mint-300), var(--cyan-300));
    margin: 2rem auto;
}

.badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    background: var(--gray-100);
    color: var(--gray-600);
}

.badge.completed {
    background: #dcfce7;
    color: #16a34a;
}

.badge.progress {
    background: var(--cyan-100);
    color: var(--cyan-700);
}

/* Layout Templates */
.template-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.template-card {
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    padding: 24px;
    transition: all 0.2s;
}

.template-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.template-preview {
    height: 120px;
    background: var(--gray-50);
    border-radius: 8px;
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
}

.dashboard-preview {
    display: flex;
}

.preview-sidebar {
    width: 30%;
    background: var(--gray-200);
}

.preview-content {
    flex: 1;
    padding: 8px;
}

.preview-header {
    height: 16px;
    background: var(--gray-300);
    border-radius: 4px;
    margin-bottom: 8px;
}

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

.preview-card {
    height: 20px;
    background: var(--mint-200);
    border-radius: 4px;
}

.content-preview .preview-content-full {
    padding: 12px;
}

.preview-text-line {
    height: 8px;
    background: var(--gray-300);
    border-radius: 4px;
    margin-bottom: 6px;
}

.preview-text-line.short {
    width: 60%;
}

.grid-preview .preview-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
    padding: 8px;
    margin-top: 20px;
}

.preview-grid-item {
    height: 16px;
    background: var(--cyan-200);
    border-radius: 4px;
}

.template-title {
    font-size: 18px;
    font-weight: 500;
    color: var(--gray-800);
    margin-bottom: 8px;
}

.template-description {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .main-content {
        margin-left: 0;
        margin-top: 32px;
        max-width: 100vw;
        padding: 20px;
        transition: margin-left 0.3s ease, max-width 0.3s ease;
    }
    
    .sidebar {
        transform: none;
    }
    
    .sidebar.mobile-open {
        transform: translateX(0);
    }
    
    .main-content.mobile-shifted {
        margin-left: 280px;
        max-width: calc(100vw - 280px);
    }
}
    
    .page-title {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .color-swatches {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
    
    .component-showcase {
        flex-direction: row;
        align-items: flex-start;
    }
    
    .card {
        max-width: 320px;
    }
}
/* Navigation Links */
.nav-item {
    margin: 0;
}

/* Removed duplicate nav-link definition */

.nav-link.active::before {
    display: none;
}

.nav-link span {
    font-size: 14px;
}
.sidebar-footer {
    margin-top: auto;
    padding: 24px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.footer-logo {
    flex-shrink: 0;
}

.footer-text {
    flex: 1;
}

.footer-title {
    font-size: 15px;
    font-weight: 600;
    color: white;
    line-height: 1.1;
    margin-bottom: 2px;
}

.footer-subtitle {
    font-size: 12px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    line-height: 1.1;
}
.sidebar-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.gradient-text {
    background: linear-gradient(135deg, var(--mint-600), var(--cyan-600));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.image-placeholder {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.nav-section-title {
    font-size: 14px;
    font-weight: 400;
    color: var(--gray-900);
    margin: 0 24px 16px 24px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
}

/* Icons */
.icon-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    padding: 16px 0;
    width: 100%;
}

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

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

.icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px;
}

.icon-item svg {
    color: var(--gray-700);
}

.icon-name {
    font-size: 12px;
    color: var(--gray-600);
    font-weight: 500;
    text-align: center;
}
