/* EvalAtlas - Notion-Inspired Design */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    /* Notion-Inspired Color Palette */
    --white: #FFFFFF;
    --black: #191919;
    --gray-50: #FAFAFA;
    --gray-100: #F7F6F3;
    --gray-200: #EBECED;
    --gray-300: #E3E2E0;
    --gray-400: #CFCECE;
    --gray-500: #9B9A97;
    --gray-600: #6B6B6B;
    --gray-700: #37352F;
    --gray-800: #2F2F2F;
    --gray-900: #191919;
    
    /* Purple Gradient Accent */
    --purple-light: #E9D5FF;
    --purple-200: #C4B5FD;
    --purple-400: #A78BFA;
    --purple-500: #8B5CF6;
    --purple-600: #7C3AED;
    --purple-700: #6D28D9;
    --gradient-purple: linear-gradient(135deg, #8B5CF6 0%, #A855F7 50%, #D946EF 100%);
    --gradient-purple-soft: linear-gradient(135deg, #C4B5FD 0%, #DDD6FE 100%);
    --purple-glow: rgba(139, 92, 246, 0.3);
    
    /* Functional colors - Light Theme */
    --bg: var(--white);
    --bg-secondary: var(--gray-100);
    --fg: var(--gray-700);
    --fg-muted: var(--gray-500);
    --accent: var(--purple-500);
    --accent-hover: var(--purple-600);
    --surface: var(--white);
    --surface-hover: var(--gray-100);
    --border: var(--gray-300);
    --border-light: var(--gray-200);
    
    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2.5rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    
    /* Borders */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
    --shadow-purple: 0 4px 14px rgba(139, 92, 246, 0.25);
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
    :root {
        --bg: #191919;
        --bg-secondary: #252525;
        --fg: #E3E2E0;
        --fg-muted: #9B9A97;
        --surface: #252525;
        --surface-hover: #2F2F2F;
        --border: #3F3F3F;
        --border-light: #333333;
    }
}

/* Force dark mode for now */
:root {
    --bg: #191919;
    --bg-secondary: #252525;
    --fg: #E3E2E0;
    --fg-muted: #9B9A97;
    --surface: #252525;
    --surface-hover: #2F2F2F;
    --border: #3F3F3F;
    --border-light: #333333;
    
    /* Aliases for discover page and components */
    --primary: #8B5CF6;
    --background: #191919;
    --text-primary: #E3E2E0;
    --text-secondary: #9B9A97;
    --text-muted: #6B6B6B;
    --radius-full: 9999px;
    --space-xxl: 4rem;
    
    /* Semantic colors */
    --success: #22C55E;
    --success-glow: rgba(34, 197, 94, 0.5);
    --info: #3B82F6;
    --info-glow: rgba(59, 130, 246, 0.5);
    --warning: #EAB308;
    --danger: #EF4444;
}

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

/* Base */
html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--fg);
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2rem);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-sans);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.25;
    color: var(--fg);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s ease;
}

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

/* ============================================
   HEADER / NAVIGATION - Premium Design
   ============================================ */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(25, 25, 25, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.75rem clamp(1rem, 4vw, 2rem);
    gap: 2rem;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.logo:hover .logo-icon svg {
    transform: rotate(15deg);
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--fg);
    letter-spacing: -0.03em;
}

/* Center Navigation */
.nav-center {
    display: flex;
    align-items: center;
    gap: 0.125rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 100px;
    padding: 0.25rem;
    flex: 1;
    justify-content: center;
    max-width: max-content;
}

/* Hide mobile-only elements on desktop */
.mobile-auth-links,
.mobile-home-link {
    display: none;
}

.nav-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 0.875rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--fg-muted);
    border-radius: 100px;
    transition: all 0.25s ease;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
}

.nav-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(168, 85, 247, 0.15) 50%, rgba(217, 70, 239, 0.1) 100%);
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.nav-item:hover {
    color: var(--fg);
}

.nav-item:hover::before {
    opacity: 1;
}

.nav-item.active {
    color: white;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3) 0%, rgba(168, 85, 247, 0.25) 100%);
    box-shadow: inset 0 0 0 1px rgba(139, 92, 246, 0.4), 0 2px 8px rgba(139, 92, 246, 0.2);
}

.nav-item.active::before {
    opacity: 0;
}

.nav-item-icon {
    font-size: 0.9375rem;
    line-height: 1;
    position: relative;
    z-index: 1;
}

.nav-item-text {
    display: block;
    position: relative;
    z-index: 1;
}

/* Hide text on medium screens to prevent overflow */
@media (max-width: 1100px) and (min-width: 901px) {
    .nav-item {
        padding: 0.5rem 0.75rem;
    }
    
    .nav-item-text {
        display: none;
    }
    
    .nav-item-icon {
        font-size: 1.125rem;
    }
}

/* Right Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

#auth-buttons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-ghost {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--fg-muted);
    border-radius: 100px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-ghost:hover {
    color: var(--fg);
    background: rgba(255, 255, 255, 0.06);
}

.btn-glow {
    position: relative;
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, #8B5CF6 0%, #A855F7 50%, #D946EF 100%);
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(139, 92, 246, 0.3);
}

.btn-glow:hover {
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.5);
}

.btn-glow::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, #8B5CF6, #D946EF);
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    filter: blur(8px);
    transition: opacity 0.3s ease;
}

.btn-glow:hover::before {
    opacity: 0.6;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mobile-menu-btn span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--fg);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Legacy support */
.btn-signin { display: none; }
.auth-nav { display: none; }
.nav-links { display: none; }
.main-nav { display: none; }

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

.user-menu-trigger {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: var(--radius-full);
    transition: all 0.2s ease;
}

.user-menu-trigger:hover {
    background: var(--surface-hover);
}

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

.dropdown-arrow {
    font-size: 0.625rem;
    color: var(--fg-muted);
    transition: transform 0.2s ease;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    width: 240px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1000;
}

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

.dropdown-header {
    padding: 1rem;
    text-align: center;
}

.dropdown-name {
    display: block;
    font-weight: 600;
    color: var(--fg);
    font-size: 0.9375rem;
}

.dropdown-role {
    display: block;
    font-size: 0.75rem;
    color: var(--accent);
    margin-top: 0.25rem;
}

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

.dropdown-section {
    padding: 0;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--fg-muted);
    font-size: 0.875rem;
    transition: all 0.15s ease;
    text-decoration: none;
}

.dropdown-item:hover {
    background: var(--surface-hover);
    color: var(--fg);
}

.dropdown-item span {
    font-size: 1rem;
    width: 1.25rem;
    text-align: center;
}

.dropdown-signout {
    color: var(--danger, #EF4444);
}

.dropdown-signout:hover {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger, #EF4444);
}

.btn-join,
.btn-primary {
    background: var(--gradient-purple) !important;
    color: var(--white) !important;
    border: none;
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-purple);
}

.btn-join:hover,
.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.35);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-3xl) var(--space-lg) var(--space-xl);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--purple-glow) 0%, transparent 60%);
    opacity: 0.5;
    pointer-events: none;
}

.hero-content {
    max-width: 720px;
    position: relative;
    z-index: 1;
}

.hero-tagline {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--purple-400);
    margin-bottom: var(--space-lg);
    letter-spacing: 0.02em;
}

.hero-title {
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
    letter-spacing: -0.03em;
}

.hero-title span {
    display: inline;
}

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

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 50px;
    margin-bottom: var(--space-lg);
    font-size: 0.85rem;
    color: var(--purple-400);
    font-weight: 500;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--purple-400);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

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

.hero-description {
    font-size: 1.25rem;
    color: var(--fg-muted);
    max-width: 640px;
    margin: 0 auto var(--space-md);
    line-height: 1.6;
}

.hero-description strong {
    color: var(--fg);
    font-weight: 500;
}

.hero-subdescription {
    font-size: 1rem;
    color: var(--fg-muted);
    opacity: 0.8;
    margin-bottom: var(--space-xl);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: var(--space-xl);
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.hero-stat .stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--fg);
}

.hero-stat .stat-text {
    font-size: 0.75rem;
    color: var(--fg-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-stat-divider {
    width: 1px;
    height: 32px;
    background: var(--border-light);
}

.hero-buttons {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-btn {
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-btn-primary {
    background: var(--gradient-purple);
    color: var(--white);
    border: none;
    box-shadow: var(--shadow-purple);
}

.hero-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

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

.hero-btn-secondary:hover {
    background: var(--surface-hover);
    border-color: var(--purple-400);
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: var(--space-3xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.section-label {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--purple-400);
    margin-bottom: var(--space-sm);
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: var(--space-sm);
}

.section-description {
    font-size: 1.0625rem;
    color: var(--fg-muted);
    max-width: 540px;
    margin: 0 auto;
}

/* ============================================
   STAKEHOLDER CARDS
   ============================================ */
.stakeholders-section {
    padding: var(--space-2xl) 0 var(--space-3xl);
    position: relative;
}

.stakeholders-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.3), transparent);
}

.stakeholders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
}

.stakeholder-card {
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: all 0.2s ease;
}

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

.stakeholder-icon {
    font-size: 2rem;
    margin-bottom: var(--space-md);
    display: block;
}

.stakeholder-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.stakeholder-description {
    color: var(--fg-muted);
    font-size: 0.9375rem;
    line-height: 1.65;
}

/* ============================================
   FEATURE CARDS
   ============================================ */
.features-section {
    padding: var(--space-3xl) 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-lg);
}

.feature-card {
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: all 0.2s ease;
    text-decoration: none;
}

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

.feature-icon {
    font-size: 1.75rem;
    margin-bottom: var(--space-md);
}

.feature-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--fg);
}

.feature-description {
    color: var(--fg-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* ============================================
   PROFILE CARDS
   ============================================ */
.network-page,
.profiles-grid-container {
    padding: var(--space-xl) 0;
}

.network-header,
.page-header {
    text-align: center;
    margin-bottom: var(--space-xl);
    padding: 0 var(--space-lg);
}

.page-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: var(--space-sm);
}

.page-subtitle {
    color: var(--fg-muted);
    font-size: 1rem;
}

/* Search Section */
.search-section {
    margin-bottom: var(--space-xl);
    padding: 0 var(--space-lg);
}

.search-form {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 0.5rem;
}

.search-form input,
.search-form select {
    flex: 1;
    min-width: 150px;
    padding: 0.75rem 1rem;
    background: transparent;
    border: none;
    color: var(--fg);
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    outline: none;
}

.search-form input::placeholder {
    color: var(--fg-muted);
}

.search-form button {
    background: var(--gradient-purple);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
}

.search-form button:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-purple);
}

/* Profile Cards Grid */
.profiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: var(--space-lg);
    padding: 0 var(--space-lg);
}

.profile-card {
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    transition: all 0.2s ease;
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
}

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

.profile-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gradient-purple-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--purple-600);
    flex-shrink: 0;
}

.profile-info {
    flex: 1;
    min-width: 0;
}

.profile-name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.125rem;
}

.profile-title {
    color: var(--fg-muted);
    font-size: 0.875rem;
    margin-bottom: var(--space-sm);
}

.profile-role-badge,
.role-badge {
    display: inline-block;
    padding: 0.25rem 0.625rem;
    background: var(--purple-glow);
    border-radius: var(--radius-sm);
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--purple-400);
    margin-bottom: var(--space-sm);
}

.profile-meta {
    font-size: 0.8125rem;
    color: var(--fg-muted);
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.profile-bio {
    color: var(--fg-muted);
    font-size: 0.875rem;
    margin-top: var(--space-sm);
    line-height: 1.5;
}

/* ============================================
   ORGANIZATION CARDS
   ============================================ */
.orgs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: var(--space-lg);
    padding: 0 var(--space-lg);
}

.org-card {
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    transition: all 0.2s ease;
}

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

.org-avatar {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--gradient-purple-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--purple-600);
    margin-bottom: var(--space-md);
}

.org-name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--fg);
}

.org-name:hover {
    color: var(--purple-400);
}

.org-type {
    display: inline-block;
    padding: 0.25rem 0.625rem;
    background: var(--purple-glow);
    border-radius: var(--radius-sm);
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--purple-400);
    margin-bottom: var(--space-sm);
}

.org-location,
.org-regions {
    font-size: 0.875rem;
    color: var(--fg-muted);
    margin-bottom: var(--space-xs);
}

.org-description {
    color: var(--fg-muted);
    font-size: 0.875rem;
    margin-top: var(--space-sm);
    line-height: 1.5;
}

/* ============================================
   OPPORTUNITIES / JOBS
   ============================================ */
.opportunities-page {
    padding: var(--space-xl) 0;
}

.opportunities-header {
    padding: 0 var(--space-lg);
    margin-bottom: var(--space-xl);
}

.opportunities-header .header-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--space-lg);
    flex-wrap: wrap;
    margin-bottom: var(--space-lg);
}

.opportunities-header .page-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.opportunities-header .header-actions {
    display: flex;
    gap: var(--space-sm);
}

.opportunities-header .btn-primary,
.opportunities-header .btn-secondary {
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.opportunities-header .btn-primary {
    background: var(--gradient-purple);
    color: var(--white);
    border: none;
    box-shadow: var(--shadow-purple);
}

.opportunities-header .btn-primary:hover {
    transform: translateY(-1px);
}

.opportunities-header .btn-secondary {
    background: var(--surface);
    color: var(--fg);
    border: 1px solid var(--border);
}

.opportunities-header .btn-secondary:hover {
    background: var(--surface-hover);
}

/* Coming Soon Badge - Large */
.coming-soon-badge-large {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.4);
    border-radius: 50px;
    font-size: 0.875rem;
    color: #A855F7;
    font-weight: 600;
    margin-top: var(--space-sm);
    letter-spacing: 0.02em;
}

/* Org Banner */
.org-banner {
    background: var(--surface) !important;
    border: 1px solid var(--border-light) !important;
    border-radius: var(--radius-lg) !important;
    padding: var(--space-lg) !important;
}

.org-banner h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--fg);
    margin-bottom: var(--space-xs);
}

.org-banner p {
    color: var(--fg-muted);
    font-size: 0.9375rem;
}

.org-banner .feature-item {
    font-size: 0.8125rem;
    color: var(--purple-400);
}

/* Search Form */
.opportunities-page .search-section {
    padding: 0 var(--space-lg);
    margin-bottom: var(--space-xl);
}

.opportunities-page .search-form {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    max-width: 100%;
}

.opportunities-page .search-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.5rem;
}

.opportunities-page .search-input,
.opportunities-page .search-input-small,
.opportunities-page .search-select {
    flex: 1;
    min-width: 150px;
    padding: 0.75rem 1rem;
    background: transparent;
    border: none;
    color: var(--fg);
    font-family: var(--font-sans);
    font-size: 0.9375rem;
}

.opportunities-page .search-form .btn-primary {
    background: var(--gradient-purple);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
}

/* Opportunity Cards */
.opportunities-page .opportunities-grid {
    display: grid;
    gap: var(--space-lg);
    padding: 0 var(--space-lg);
}

.opportunities-page .opportunity-card {
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    transition: all 0.2s ease;
}

.opportunities-page .opportunity-card:hover {
    border-color: var(--purple-400);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.opportunities-page .opportunity-title {
    font-size: 1.0625rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.opportunities-page .chip {
    display: inline-block;
    padding: 0.25rem 0.625rem;
    background: var(--purple-glow);
    border-radius: var(--radius-sm);
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--purple-400);
}

.opportunities-page .opportunity-org {
    color: var(--fg-muted);
    font-size: 0.875rem;
    margin-bottom: var(--space-md);
}

.opportunities-page .opportunity-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    font-size: 0.8125rem;
    color: var(--fg-muted);
    margin-bottom: var(--space-md);
}

.opportunities-page .opportunity-deadline {
    color: var(--purple-400);
}

.opportunities-page .opportunity-description {
    color: var(--fg-muted);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.opportunities-page .sector-tag,
.opportunities-page .method-tag {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    margin-right: var(--space-xs);
    margin-bottom: var(--space-xs);
    color: var(--fg-muted);
}

.opportunities-page .opportunity-actions {
    margin-top: var(--space-md);
    display: flex;
    gap: var(--space-sm);
}

.opportunities-page .opportunity-actions .btn-primary {
    background: var(--gradient-purple);
    color: var(--white);
    border: none;
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
}

/* Chips for job types */
.chip-job { background: rgba(139, 92, 246, 0.2); color: #A78BFA; }
.chip-rfp { background: rgba(59, 130, 246, 0.2); color: #60A5FA; }
.chip-gig { background: rgba(16, 185, 129, 0.2); color: #34D399; }
.chip-training { background: rgba(245, 158, 11, 0.2); color: #FBBF24; }
.chip-event { background: rgba(236, 72, 153, 0.2); color: #F472B6; }

/* ============================================
   NETWORKS PAGE
   ============================================ */
.networks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-lg);
    padding: 0 var(--space-lg);
}

.network-card {
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    transition: all 0.2s ease;
}

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

.network-level {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--purple-400);
    margin-bottom: var(--space-sm);
}

.network-name {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.network-stats {
    color: var(--fg-muted);
    font-size: 0.875rem;
}

/* ============================================
   FOOTER - Clean & Minimal
   ============================================ */
.footer {
    background: var(--bg);
    border-top: 1px solid var(--border-light);
    padding: 1.5rem 0;
    margin-top: auto;
}

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

.footer-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo {
    font-size: 1rem;
    font-weight: 600;
    color: var(--fg);
    text-decoration: none;
    transition: color 0.15s ease;
}

.footer-logo:hover {
    color: var(--purple-400);
}

.footer-divider {
    color: var(--border-light);
    font-weight: 300;
}

.footer-tagline {
    color: var(--fg-muted);
    font-size: 0.8rem;
}

.footer-tagline a {
    color: var(--fg-muted);
    text-decoration: none;
    transition: color 0.15s ease;
}

.footer-tagline a:hover {
    color: var(--purple-400);
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.footer-right a {
    font-size: 0.8rem;
    color: var(--fg-muted);
    text-decoration: none;
    transition: color 0.15s ease;
}

.footer-right a:hover {
    color: var(--purple-400);
}

.footer-support {
    text-align: center;
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 1px solid var(--border-subtle);
}

.footer-support a {
    font-size: 0.75rem;
    color: var(--fg-muted);
    text-decoration: none;
    transition: color 0.15s ease;
}

.footer-support a:hover {
    color: var(--purple-400);
}

/* ============================================
   AUTH PAGES
   ============================================ */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
}

.auth-card {
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    width: 100%;
    max-width: 400px;
    box-shadow: var(--shadow-lg);
}

.auth-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--space-lg);
    text-align: center;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--fg-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem 1rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--fg);
    font-family: var(--font-sans);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.15s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--purple-400);
}

.auth-submit {
    background: var(--gradient-purple);
    color: var(--white);
    border: none;
    padding: 0.875rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: var(--space-sm);
}

.auth-submit:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-purple);
}

.auth-links {
    text-align: center;
    margin-top: var(--space-lg);
    font-size: 0.9375rem;
    color: var(--fg-muted);
}

.auth-links a {
    color: var(--purple-400);
}

/* ============================================
   PROFILE DETAIL PAGE
   ============================================ */
.profile-detail-page {
    padding: var(--space-xl) 0;
}

.profile-detail-card {
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.profile-detail-header {
    padding: var(--space-xl);
    border-bottom: 1px solid var(--border-light);
    display: flex;
    gap: var(--space-lg);
    align-items: flex-start;
}

.profile-detail-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: var(--gradient-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 600;
    color: var(--white);
}

.profile-detail-info h1 {
    font-size: 1.5rem;
    margin-bottom: var(--space-xs);
}

.profile-detail-info .title {
    color: var(--fg-muted);
    font-size: 1.0625rem;
    margin-bottom: var(--space-md);
}

.profile-detail-body {
    padding: var(--space-xl);
}

.profile-section {
    margin-bottom: var(--space-xl);
}

.profile-section:last-child {
    margin-bottom: 0;
}

.profile-section h3 {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--purple-400);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--border-light);
}

.profile-section p {
    color: var(--fg-muted);
    line-height: 1.7;
}

.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.expertise-tag {
    padding: 0.375rem 0.75rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    color: var(--fg);
}

/* ============================================
   BUTTONS & UTILITIES
   ============================================ */
.btn {
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--fg);
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn:hover {
    background: var(--surface-hover);
    border-color: var(--purple-400);
}

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

.btn-accent:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-purple);
}

/* Messages */
.message {
    padding: 1rem;
    margin-bottom: var(--space-md);
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
}

.message-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #F87171;
}

.message-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34D399;
}

/* Empty States */
.empty-state {
    text-align: center;
    padding: var(--space-3xl);
    color: var(--fg-muted);
}

.empty-state-icon {
    font-size: 3rem;
    margin-bottom: var(--space-md);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    /* Header mobile styles are in the hamburger menu section below */
    
    .hero-section {
        min-height: auto;
        padding: var(--space-xl) var(--space-md);
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .hero-stats {
        gap: 1rem;
    }
    
    .hero-stat .stat-number {
        font-size: 1.25rem;
    }
    
    .hero-stat-divider {
        height: 24px;
    }
    
    .stakeholders-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .profiles-grid,
    .orgs-grid,
    .networks-grid,
    .opportunities-page .opportunities-grid {
        grid-template-columns: 1fr;
        padding: 0 var(--space-md);
    }
    
    .search-form {
        flex-direction: column;
    }
    
    .footer {
        padding: 1.5rem clamp(1rem, 5vw, 1.5rem);
    }
    
    .footer .container {
        padding: 0 clamp(0.5rem, 3vw, 1rem);
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .footer-left {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .footer-divider {
        display: none;
    }
    
    .footer-right {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.75rem;
        padding: 0 0.5rem;
    }
    
    .footer-right a {
        font-size: 0.75rem;
    }
    
    .profile-detail-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* ============================================
   MOBILE HAMBURGER MENU - Premium Design
   ============================================ */
@media (max-width: 900px) {
    .header-inner {
        padding: 0.625rem clamp(1rem, 4vw, 1.5rem);
    }
    
    .nav-center {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        background: rgba(15, 15, 15, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 100px 1.5rem 120px;
        overflow-y: auto;
        z-index: 998;
        display: none !important;
        border-radius: 0;
        border: none;
        gap: 0.5rem;
        max-width: 100%;
        margin: 0;
    }
    
    .nav-center.mobile-open {
        display: flex !important;
    }
    
    .nav-item {
        width: 100%;
        padding: 1rem 1.25rem;
        justify-content: flex-start;
        font-size: 1rem;
        border-radius: var(--radius-md);
        border: 1px solid rgba(255, 255, 255, 0.08);
        background: rgba(255, 255, 255, 0.03);
        opacity: 0;
        animation: fadeSlideIn 0.4s ease forwards;
    }
    
    .nav-item::before {
        background: linear-gradient(135deg, rgba(139, 92, 246, 0.25) 0%, rgba(217, 70, 239, 0.15) 100%);
    }
    
    /* Show home link in mobile menu */
    .mobile-home-link {
        display: flex;
    }
    
    .nav-center.mobile-open .nav-item:nth-child(1) { animation-delay: 0.05s; }
    .nav-center.mobile-open .nav-item:nth-child(2) { animation-delay: 0.1s; }
    .nav-center.mobile-open .nav-item:nth-child(3) { animation-delay: 0.15s; }
    .nav-center.mobile-open .nav-item:nth-child(4) { animation-delay: 0.2s; }
    .nav-center.mobile-open .nav-item:nth-child(5) { animation-delay: 0.25s; }
    .nav-center.mobile-open .nav-item:nth-child(6) { animation-delay: 0.3s; }
    
    /* Hide desktop auth buttons on mobile */
    #auth-buttons {
        display: none !important;
    }
    
    /* Mobile auth links in hamburger menu - hidden until menu opens */
    .mobile-auth-links {
        display: none;
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
        margin-top: 1.5rem;
        padding-top: 1.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-center.mobile-open .mobile-auth-links {
        display: flex;
    }
    
    .mobile-auth-item {
        animation: fadeSlideIn 0.3s ease forwards;
        opacity: 0;
    }
    
    .nav-center.mobile-open .mobile-auth-item:nth-child(1) { animation-delay: 0.35s; }
    .nav-center.mobile-open .mobile-auth-item:nth-child(2) { animation-delay: 0.4s; }
    
    .mobile-auth-primary {
        background: linear-gradient(135deg, rgba(139, 92, 246, 0.3) 0%, rgba(168, 85, 247, 0.25) 100%);
        border-color: rgba(139, 92, 246, 0.5) !important;
    }
    
    .mobile-auth-primary:hover {
        background: linear-gradient(135deg, rgba(139, 92, 246, 0.4) 0%, rgba(168, 85, 247, 0.35) 100%);
    }
    
    .nav-item.active {
        background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(168, 85, 247, 0.15) 100%);
        border-color: rgba(139, 92, 246, 0.4);
        box-shadow: 0 2px 12px rgba(139, 92, 246, 0.2);
    }
    
    .nav-item-icon {
        font-size: 1.25rem;
        width: 2rem;
    }
    
    .nav-item-text {
        display: block !important;
    }
    
    .mobile-menu-btn {
        display: flex !important;
        z-index: 1001;
    }
    
    /* Mobile auth buttons - fixed at bottom */
    .nav-actions {
        position: relative;
    }
    
    .nav-center.mobile-open ~ .nav-actions {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(15, 15, 15, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 1rem 1.5rem;
        z-index: 1000;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
    }
    
    .nav-center.mobile-open ~ .nav-actions #auth-buttons {
        flex-direction: row;
        width: 100%;
        gap: 0.75rem;
    }
    
    .nav-center.mobile-open ~ .nav-actions .btn-ghost,
    .nav-center.mobile-open ~ .nav-actions .btn-glow {
        flex: 1;
        justify-content: center;
        padding: 0.875rem 1rem;
        font-size: 0.9375rem;
        text-align: center;
    }
    
    .nav-center.mobile-open ~ .nav-actions .mobile-menu-btn {
        display: none !important;
    }
}

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

/* Hero section mobile */
@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 1rem;
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .hero-description {
        font-size: 1rem;
        padding: 0 0.5rem;
    }
}

/* Mobile element adjustments */
@media (max-width: 768px) {
    .stakeholder-card {
        padding: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .section-header {
        padding: 0 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .search-section {
        padding: 1rem;
    }
    
    .search-row {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .search-input,
    .search-select,
    .search-input-small {
        width: 100%;
        min-width: auto;
    }
    
    .profile-card {
        padding: 1.25rem;
    }
    
    .profile-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .profile-actions button {
        width: 100%;
    }
    
    .network-header {
        padding: 2rem 1rem;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .footer {
        padding: 1.5rem 1rem;
    }
    
    .footer-content {
        padding: 0 0.5rem;
    }
    
    .footer-right {
        gap: 0.5rem;
        padding: 0 0.5rem;
    }
    
    .footer-right a {
        font-size: 0.7rem;
        white-space: nowrap;
    }
    
    .hero-buttons {
        width: 100%;
        padding: 0 1rem;
    }
    
    .hero-btn {
        font-size: 0.9rem;
        padding: 0.875rem 1.5rem;
    }
    
    .stakeholders-grid {
        gap: 1rem;
    }
    
    .features-grid {
        gap: 1rem;
    }
    
    .profiles-grid {
        gap: 1rem;
    }
    
    .chip {
        font-size: 0.7rem;
        padding: 0.2rem 0.5rem;
    }
}

/* ============================================
   SIDEBAR & DASHBOARD
   ============================================ */
.sidebar {
    background: var(--surface);
    border-right: 1px solid var(--border-light);
    padding: var(--space-lg);
    min-height: 100vh;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: 0.75rem 1rem;
    color: var(--fg-muted);
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all 0.15s ease;
}

.sidebar-link:hover,
.sidebar-link.active {
    color: var(--fg);
    background: var(--surface-hover);
}

.sidebar-link.active {
    background: var(--purple-glow);
    color: var(--purple-400);
}

/* Dashboard */
.dashboard-page {
    padding: var(--space-xl) 0;
}

.dashboard-header {
    margin-bottom: var(--space-xl);
}

.dashboard-welcome {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.dashboard-subtitle {
    color: var(--fg-muted);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.dashboard-card {
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
}

.dashboard-card h3 {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--purple-400);
    margin-bottom: var(--space-md);
}

/* Map placeholder */
.map-container {
    height: 600px;
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: var(--space-lg);
}

.map-placeholder {
    text-align: center;
    color: var(--fg-muted);
}

.map-placeholder-icon {
    font-size: 4rem;
    margin-bottom: var(--space-md);
}

/* Dropdown/select styling */
select option {
    background: var(--bg);
    color: var(--fg);
}

/* Legacy overrides */
.btn-large {
    padding: 0.75rem 1.5rem !important;
}

.btn-connect,
.nav-signup {
    background: var(--gradient-purple) !important;
    color: var(--white) !important;
    padding: 0.5rem 1.25rem !important;
    box-shadow: var(--shadow-purple) !important;
}

.header-actions {
    display: flex;
    gap: var(--space-sm);
}

.landing-hero,
.hero-background {
    background: transparent !important;
}

input::placeholder,
textarea::placeholder {
    color: var(--fg-muted);
}

/* Compact Profile Cards */
.compact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--space-md);
}

.profile-card-compact {
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    transition: all 0.2s ease;
}

.profile-card-compact:hover {
    border-color: var(--purple-400);
    box-shadow: 0 0 0 1px var(--purple-glow);
}

.profile-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.profile-card-top {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.profile-avatar-small {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--white);
    flex-shrink: 0;
}

.profile-info {
    flex: 1;
    min-width: 0;
}

.profile-name-compact {
    font-size: 1rem;
    font-weight: 600;
    color: var(--fg);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-headline-compact {
    font-size: 0.8125rem;
    color: var(--fg-muted);
    margin-bottom: 4px;
    line-height: 1.3;
}

.profile-location-compact {
    font-size: 0.75rem;
    color: var(--purple-400);
}

.profile-card-actions {
    display: flex;
    gap: var(--space-sm);
    padding-top: var(--space-sm);
    border-top: 1px solid var(--border-light);
}

.btn-follow,
.btn-follow-large {
    flex: 1;
    padding: 0.5rem 0.75rem;
    font-size: 0.8125rem;
    font-weight: 500;
    border: 1px solid var(--purple-400);
    background: transparent;
    color: var(--purple-400);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.btn-follow:hover,
.btn-follow-large:hover {
    background: var(--purple-glow);
}

.btn-follow.following,
.btn-follow-large.following {
    background: var(--purple-500);
    border-color: var(--purple-500);
    color: var(--white);
}

.btn-connect-compact,
.btn-connect-large {
    flex: 1;
    padding: 0.5rem 0.75rem;
    font-size: 0.8125rem;
    font-weight: 500;
    background: var(--gradient-purple);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-connect-compact:hover,
.btn-connect-large:hover {
    opacity: 0.9;
    box-shadow: var(--shadow-purple);
}

.btn-connect-compact.pending,
.btn-connect-large.pending {
    background: var(--gray-600);
    cursor: default;
}

.btn-connect-compact.connected,
.btn-connect-large.connected {
    background: var(--purple-700);
    cursor: default;
}

.btn-connect-compact:disabled,
.btn-connect-large:disabled {
    opacity: 0.7;
    cursor: default;
}

.follow-icon {
    font-weight: 700;
}

/* My Network Page */
.my-network-page {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--space-xl) var(--space-md);
}

.network-stats-bar {
    display: flex;
    justify-content: space-around;
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.stat-item {
    text-align: center;
    cursor: pointer;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    transition: background 0.2s ease;
}

.stat-item:hover {
    background: var(--surface-hover);
}

.stat-number {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--fg-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.network-tabs {
    display: flex;
    gap: var(--space-xs);
    margin-bottom: var(--space-lg);
    border-bottom: 1px solid var(--border-light);
    padding-bottom: var(--space-sm);
}

.tab-btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    background: none;
    border: none;
    color: var(--fg-muted);
    cursor: pointer;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    transition: all 0.2s ease;
    position: relative;
}

.tab-btn:hover {
    color: var(--fg);
    background: var(--surface-hover);
}

.tab-btn.active {
    color: var(--purple-400);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-purple);
    border-radius: 2px 2px 0 0;
}

.badge {
    display: none;
    background: var(--purple-500);
    color: var(--white);
    font-size: 0.6875rem;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 6px;
}

.badge.visible {
    display: inline-block;
}

.tab-content.hidden {
    display: none;
}

.network-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.network-card {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

.network-card:hover {
    border-color: var(--purple-400);
}

.network-card-link {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex: 1;
    text-decoration: none;
    color: inherit;
}

.network-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--white);
    flex-shrink: 0;
}

.network-info {
    flex: 1;
    min-width: 0;
}

.network-name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--fg);
    margin-bottom: 2px;
}

.network-headline {
    font-size: 0.8125rem;
    color: var(--fg-muted);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.network-location {
    font-size: 0.75rem;
    color: var(--purple-400);
}

.btn-unfollow {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    background: transparent;
    border: 1px solid var(--gray-500);
    color: var(--gray-500);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-unfollow:hover {
    border-color: #ef4444;
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

.request-actions {
    display: flex;
    gap: var(--space-sm);
}

.btn-accept {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    background: var(--gradient-purple);
    border: none;
    color: var(--white);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-accept:hover {
    opacity: 0.9;
    box-shadow: var(--shadow-purple);
}

.btn-decline {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    background: transparent;
    border: 1px solid var(--gray-500);
    color: var(--gray-500);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-decline:hover {
    border-color: #ef4444;
    color: #ef4444;
}

.request-accepted,
.request-declined {
    padding: var(--space-md);
    text-align: center;
    font-size: 0.875rem;
}

.request-accepted {
    color: #22c55e;
}

.request-declined {
    color: var(--fg-muted);
}

.empty-state {
    text-align: center;
    padding: var(--space-2xl);
    color: var(--fg-muted);
}

.empty-state a {
    color: var(--purple-400);
}

/* ============================================
   ENHANCED PROFILE CARDS - LinkedIn Style
   ============================================ */

.profiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: var(--space-lg);
    padding: 0;
}

.profile-card {
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
}

.profile-card:hover {
    border-color: var(--purple-400);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.15);
    transform: translateY(-4px);
}

.profile-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    padding: var(--space-lg);
    flex: 1;
}

.profile-card-header {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.profile-avatar-medium {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--gradient-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--white);
    flex-shrink: 0;
}

.profile-meta {
    flex: 1;
    min-width: 0;
}

.profile-meta .profile-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--fg);
    margin-bottom: 4px;
    line-height: 1.3;
}

.profile-headline {
    font-size: 0.875rem;
    color: var(--fg-muted);
    line-height: 1.4;
    margin-bottom: 6px;
}

.profile-location {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8125rem;
    color: var(--purple-400);
}

.location-icon {
    font-size: 0.75rem;
}

.profile-card-body {
    border-top: 1px solid var(--border-light);
    padding-top: var(--space-md);
}

.profile-bio-preview {
    font-size: 0.875rem;
    color: var(--fg-muted);
    line-height: 1.5;
    margin-bottom: var(--space-md);
}

.profile-stats-row {
    display: flex;
    gap: var(--space-sm);
    align-items: center;
    margin-bottom: var(--space-sm);
    flex-wrap: wrap;
}

.stat-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: var(--surface-hover);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    color: var(--fg-muted);
}

.stat-icon {
    font-size: 0.6875rem;
}

.role-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.role-badge.role-pro { background: rgba(139, 92, 246, 0.2); color: var(--purple-400); }
.role-badge.role-enumerator { background: rgba(34, 197, 94, 0.2); color: #22c55e; }
.role-badge.role-agency { background: rgba(59, 130, 246, 0.2); color: #3b82f6; }
.role-badge.role-vope { background: rgba(249, 115, 22, 0.2); color: #f97316; }

.profile-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: var(--space-sm);
}

.profile-tags.methods-tags {
    margin-top: 6px;
}

.tag-sector {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(139, 92, 246, 0.15);
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--purple-400);
}

.tag-method {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(99, 102, 241, 0.15);
    border-radius: 20px;
    font-size: 0.75rem;
    color: #818cf8;
}

.tag-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 8px;
    background: var(--surface-hover);
    border-radius: 20px;
    font-size: 0.6875rem;
    color: var(--fg-muted);
}

.profile-card-footer {
    display: flex;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    background: var(--surface-hover);
    border-top: 1px solid var(--border-light);
}

.btn-follow,
.btn-connect {
    flex: 1;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-follow {
    border: 1px solid var(--purple-400);
    background: transparent;
    color: var(--purple-400);
}

.btn-follow:hover {
    background: rgba(139, 92, 246, 0.1);
}

.btn-follow.following {
    background: var(--purple-500);
    border-color: var(--purple-500);
    color: var(--white);
}

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

.btn-connect:hover {
    box-shadow: var(--shadow-purple);
    transform: translateY(-1px);
}

.btn-connect.pending {
    background: var(--gray-600);
    cursor: default;
}

.btn-connect.connected {
    background: var(--purple-700);
    cursor: default;
}

.btn-connect:disabled {
    opacity: 0.8;
    cursor: default;
    transform: none;
    box-shadow: none;
}

/* Search/Filter Improvements */
.search-section {
    padding: 0;
    margin-bottom: var(--space-lg);
}

.search-row {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
    align-items: stretch;
}

.search-field {
    flex: 1;
    min-width: 150px;
}

.search-input,
.search-select {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--fg);
    font-size: 0.9375rem;
    transition: all 0.2s ease;
}

.search-input:focus,
.search-select:focus {
    outline: none;
    border-color: var(--purple-400);
    box-shadow: 0 0 0 3px var(--purple-glow);
}

.btn-icon {
    margin-right: 4px;
}

.active-filters {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-top: var(--space-sm);
    flex-wrap: wrap;
}

.filter-label {
    font-size: 0.8125rem;
    color: var(--fg-muted);
}

.filter-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: var(--purple-glow);
    border-radius: 20px;
    font-size: 0.8125rem;
    color: var(--purple-400);
}

.remove-filter {
    color: var(--purple-400);
    text-decoration: none;
    font-weight: 600;
    opacity: 0.7;
}

.remove-filter:hover {
    opacity: 1;
}

.clear-all-filters {
    font-size: 0.8125rem;
    color: var(--fg-muted);
    text-decoration: underline;
    margin-left: auto;
}

.results-count {
    font-size: 0.875rem;
    color: var(--fg-muted);
    margin-bottom: var(--space-md);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: var(--space-3xl);
}

.empty-icon {
    font-size: 3rem;
    margin-bottom: var(--space-md);
    opacity: 0.5;
}

.empty-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--fg);
}

.empty-description {
    color: var(--fg-muted);
    margin-bottom: var(--space-lg);
}

/* ============================================
   PROFILE PAGE - Two Column Layout
   ============================================ */

.profile-page {
    min-height: 100vh;
}

.profile-banner {
    height: 160px;
    position: relative;
    overflow: hidden;
}

.banner-gradient {
    position: absolute;
    inset: 0;
    background: var(--gradient-purple);
    opacity: 0.8;
}

.profile-container {
    max-width: 1000px;
    margin: -80px auto 0;
    padding: 0 var(--space-lg);
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: var(--space-xl);
    position: relative;
    z-index: 1;
}

.profile-sidebar {
    position: sticky;
    top: var(--space-lg);
    height: fit-content;
}

.profile-card-main {
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
}

.profile-avatar-large {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--gradient-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 2rem;
    color: var(--white);
    margin: 0 auto var(--space-md);
    border: 4px solid var(--surface);
    box-shadow: var(--shadow-lg);
}

.profile-name-main {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.profile-headline-main {
    font-size: 0.9375rem;
    color: var(--fg-muted);
    margin-bottom: var(--space-sm);
    line-height: 1.4;
}

.profile-location-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 0.875rem;
    color: var(--purple-400);
    margin-bottom: var(--space-md);
}

.profile-badges {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-lg);
}

.role-badge-large {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.role-badge-large.role-pro { background: rgba(139, 92, 246, 0.2); color: var(--purple-400); }
.role-badge-large.role-enumerator { background: rgba(34, 197, 94, 0.2); color: #22c55e; }
.role-badge-large.role-agency { background: rgba(59, 130, 246, 0.2); color: #3b82f6; }
.role-badge-large.role-vope { background: rgba(249, 115, 22, 0.2); color: #f97316; }

.experience-badge {
    display: inline-block;
    padding: 6px 14px;
    background: var(--surface-hover);
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--fg-muted);
}

.profile-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.btn-follow-main,
.btn-connect-main {
    width: 100%;
    padding: 0.75rem 1.25rem;
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-follow-main {
    border: 1px solid var(--purple-400);
    background: transparent;
    color: var(--purple-400);
}

.btn-follow-main:hover {
    background: rgba(139, 92, 246, 0.1);
}

.btn-follow-main.following {
    background: var(--purple-500);
    border-color: var(--purple-500);
    color: var(--white);
}

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

.btn-connect-main:hover {
    box-shadow: var(--shadow-purple);
}

.btn-connect-main.pending,
.btn-connect-main.connected {
    background: var(--purple-700);
}

.btn-connect-main:disabled {
    opacity: 0.8;
    cursor: default;
}

.profile-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    text-align: left;
    padding-top: var(--space-md);
    border-top: 1px solid var(--border-light);
}

.profile-link {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm);
    color: var(--fg-muted);
    text-decoration: none;
    font-size: 0.875rem;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.profile-link:hover {
    background: var(--surface-hover);
    color: var(--purple-400);
}

.linkedin-profile-link {
    color: var(--fg-muted);
}

.linkedin-profile-link:hover {
    background: rgba(10, 102, 194, 0.1);
    color: #0A66C2;
}

.linkedin-profile-link svg {
    flex-shrink: 0;
}

.link-icon {
    font-size: 0.875rem;
}

/* Profile Main Content */
.profile-main {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    padding-top: 100px;
}

.profile-section-card {
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
}

.section-heading {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    color: var(--purple-400);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.bio-text {
    color: var(--fg);
    line-height: 1.7;
    font-size: 0.9375rem;
}

.tags-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-large {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
}

.tag-large.tag-sector {
    background: rgba(139, 92, 246, 0.15);
    color: var(--purple-400);
}

.tag-large.tag-method {
    background: rgba(99, 102, 241, 0.15);
    color: #818cf8;
}

.tag-large.tag-language {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.background-item {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--border-light);
}

.background-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.bg-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.bg-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bg-label {
    font-size: 0.75rem;
    color: var(--fg-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.bg-value {
    font-size: 0.9375rem;
    color: var(--fg);
}

.experience-item {
    margin-bottom: var(--space-md);
}

.experience-item:last-child {
    margin-bottom: 0;
}

.exp-label {
    font-size: 0.8125rem;
    color: var(--fg-muted);
    margin-bottom: var(--space-xs);
    display: block;
}

.exp-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag-small {
    display: inline-block;
    padding: 4px 10px;
    background: var(--surface-hover);
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--fg);
}

.back-navigation {
    max-width: 1000px;
    margin: var(--space-xl) auto;
    padding: 0 var(--space-lg);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--fg-muted);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.2s ease;
}

.back-link:hover {
    color: var(--purple-400);
}

.back-icon {
    font-size: 1.125rem;
}

/* ============================================
   RESPONSIVE - Mobile & Tablet
   ============================================ */

@media (max-width: 968px) {
    .profile-container {
        grid-template-columns: 1fr;
        margin-top: -60px;
    }
    
    .profile-sidebar {
        position: static;
    }
    
    .profile-main {
        padding-top: 0;
    }
}

@media (max-width: 768px) {
    .profiles-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .search-row {
        flex-direction: column;
    }
    
    .search-field {
        min-width: 100%;
    }
    
    .active-filters {
        justify-content: flex-start;
    }
    
    .clear-all-filters {
        margin-left: 0;
        width: 100%;
        text-align: right;
    }
    
    .profile-card-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .profile-meta {
        text-align: center;
    }
    
    .profile-location {
        justify-content: center;
    }
    
    .profile-stats-row {
        justify-content: center;
    }
    
    .profile-tags {
        justify-content: center;
    }
    
    .profile-card-footer {
        flex-direction: column;
    }
    
    .profile-banner {
        height: 120px;
    }
    
    .profile-container {
        margin-top: -40px;
        padding: 0 var(--space-md);
    }
    
    .profile-card-main {
        padding: var(--space-lg);
    }
    
    .profile-avatar-large {
        width: 80px;
        height: 80px;
        font-size: 1.5rem;
    }
    
    .profile-name-main {
        font-size: 1.25rem;
    }
    
    .network-stats-bar {
        flex-wrap: wrap;
        gap: var(--space-md);
    }
    
    .stat-item {
        flex: 1 1 40%;
    }
    
    .network-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .tab-btn {
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .tags-grid {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .profile-card-link {
        padding: var(--space-md);
    }
    
    .profile-avatar-medium {
        width: 56px;
        height: 56px;
        font-size: 1rem;
    }
    
    .profile-meta .profile-name {
        font-size: 1rem;
    }
    
    .profile-headline {
        font-size: 0.8125rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .profile-actions {
        gap: var(--space-xs);
    }
    
    .btn-follow-main,
    .btn-connect-main {
        padding: 0.625rem 1rem;
        font-size: 0.875rem;
    }
}

/* ============================================
   DISCOVER PAGE STYLES
   ============================================ */
.discover-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--space-xl) var(--space-md);
}

.discover-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.discover-header .page-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-xs);
}

.discover-header .page-subtitle {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

.search-section {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin-bottom: var(--space-md);
}

/* Modern Search Bar */
.search-bar {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    padding: 0.5rem 1rem;
    margin-bottom: var(--space-lg);
    transition: all 0.2s ease;
}

.search-bar:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
}

.search-bar .search-icon {
    font-size: 1.25rem;
    opacity: 0.6;
}

.search-input-main {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1rem;
    padding: 0.5rem 0;
    outline: none;
}

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

.search-country-select {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    min-width: 140px;
}

.search-country-select:focus {
    border-color: var(--primary);
    outline: none;
}

/* Quick Filters with Pills */
.quick-filters {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.filter-pills {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.filter-pill:hover {
    border-color: var(--primary);
    color: var(--text-primary);
    transform: translateY(-1px);
}

.filter-pill.active {
    background: var(--gradient-purple);
    border-color: transparent;
    color: white;
    box-shadow: var(--shadow-purple);
}

.filter-pill .pill-icon {
    font-size: 1rem;
}

.filter-pill .pill-text {
    font-weight: 500;
}

.filter-divider {
    width: 100%;
    height: 1px;
    background: var(--border);
    margin: 0.25rem 0;
}

/* Status Pills */
.status-pills {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.status-pill:hover {
    border-color: var(--text-muted);
    color: var(--text-primary);
}

.status-pill.active {
    background: rgba(139, 92, 246, 0.1);
    border-color: var(--primary);
    color: var(--primary);
}

.pill-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.pill-dot.available {
    background: var(--success, #22C55E);
    box-shadow: 0 0 6px var(--success-glow, rgba(34, 197, 94, 0.5));
}

.pill-dot.hiring {
    background: var(--info, #3B82F6);
    box-shadow: 0 0 6px var(--info-glow, rgba(59, 130, 246, 0.5));
}

.pill-dot.evalyouth {
    background: var(--purple-500);
    box-shadow: 0 0 6px var(--purple-glow);
}

/* Active Filters Bar */
.active-filters-bar {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex-wrap: wrap;
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--border);
}

.filter-count {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--primary);
    background: rgba(139, 92, 246, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
}

.filter-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    flex: 1;
}

.filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.625rem;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.tag-remove {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.15s ease;
}

.tag-remove:hover {
    color: #EF4444;
}

.clear-filters-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.8125rem;
    cursor: pointer;
    transition: color 0.15s ease;
}

.clear-filters-btn:hover {
    color: #EF4444;
}

/* Results Bar */
.results-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
    padding: 0 var(--space-xs);
}

.results-info {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.results-count {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-secondary);
}

/* Toggle Switch Styled */
.toggle-filter-styled {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    cursor: pointer;
}

.toggle-filter-styled input {
    display: none;
}

.toggle-switch {
    width: 44px;
    height: 24px;
    background: var(--border);
    border-radius: 12px;
    position: relative;
    transition: background 0.2s ease;
}

.toggle-switch::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: transform 0.2s ease;
}

.toggle-filter-styled input:checked + .toggle-switch {
    background: var(--primary);
}

.toggle-filter-styled input:checked + .toggle-switch::after {
    transform: translateX(20px);
}

/* Legacy toggle filter support */
.toggle-filter {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    cursor: pointer;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.toggle-filter input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.toggle-filter:hover .toggle-label {
    color: var(--text-primary);
}

.active-filters {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--border);
}

.filter-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.filter-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 0.25rem 0.75rem;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid var(--primary);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    color: var(--primary);
}

.filter-badge a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    margin-left: 0.25rem;
}

.clear-all-filters {
    color: var(--text-muted);
    font-size: 0.8125rem;
    text-decoration: underline;
    margin-left: auto;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
}

.results-count {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.btn-save-search {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-save-search:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.discover-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--space-lg);
}

.discover-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
}

.discover-card:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.discover-card.org-card-style {
    border-left: 3px solid var(--accent);
}

.card-link {
    display: block;
    padding: var(--space-lg);
    text-decoration: none;
    color: inherit;
}

.card-header {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.card-avatar {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    color: white;
    flex-shrink: 0;
}

.card-avatar.org-avatar {
    border-radius: var(--radius-md);
}

.card-meta {
    flex: 1;
    min-width: 0;
}

.btn-linkedin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    color: var(--fg-muted);
    background: var(--surface-hover);
    border: 1px solid var(--border);
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.btn-linkedin:hover {
    color: #0A66C2;
    background: rgba(10, 102, 194, 0.15);
    border-color: rgba(10, 102, 194, 0.3);
}

.card-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    white-space: nowrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    color: var(--fg-muted);
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.social-link:hover {
    color: #0A66C2;
    background: rgba(10, 102, 194, 0.1);
}

.linkedin-link {
    color: var(--fg-muted);
}

.linkedin-link:hover {
    color: #0A66C2;
    background: rgba(10, 102, 194, 0.15);
}

.card-headline {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.card-location {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.card-body {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.status-badges {
    display: flex;
    gap: var(--space-xs);
    flex-wrap: wrap;
}

.status-badge {
    display: inline-flex;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
}

.status-badge.evalyouth {
    background: rgba(168, 85, 247, 0.15);
    color: #A855F7;
}

.status-badge.available {
    background: rgba(34, 197, 94, 0.15);
    color: #22C55E;
}

.status-badge.hiring {
    background: rgba(59, 130, 246, 0.15);
    color: #3B82F6;
}

.status-badge.membership {
    background: rgba(234, 179, 8, 0.15);
    color: #EAB308;
}

.card-bio {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.card-stats {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.role-badge {
    display: inline-flex;
    padding: 0.25rem 0.625rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    background: rgba(139, 92, 246, 0.15);
    color: var(--primary);
}

.role-badge.role-enumerator {
    background: rgba(34, 197, 94, 0.15);
    color: #22C55E;
}

.role-badge.role-agency {
    background: rgba(59, 130, 246, 0.15);
    color: #3B82F6;
}

.role-badge.role-vope {
    background: rgba(168, 85, 247, 0.15);
    color: #A855F7;
}

.role-badge.role-ngo {
    background: rgba(234, 179, 8, 0.15);
    color: #EAB308;
}

.stat-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    background: var(--background);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
}

.card-tags {
    display: flex;
    gap: var(--space-xs);
    flex-wrap: wrap;
}

.tag-sector {
    display: inline-flex;
    padding: 0.125rem 0.5rem;
    font-size: 0.6875rem;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
}

.card-actions {
    display: flex;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    border-top: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.1);
}

.btn-follow,
.btn-connect {
    flex: 1;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

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

.btn-follow:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-follow.following {
    background: rgba(139, 92, 246, 0.15);
    border-color: var(--primary);
    color: var(--primary);
}

.btn-connect {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border: none;
    color: white;
}

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

.btn-connect.pending {
    background: var(--background);
    color: var(--text-muted);
}

.empty-state {
    text-align: center;
    padding: var(--space-xxl);
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: var(--space-md);
    opacity: 0.5;
}

.empty-title {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.empty-description {
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
}

.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-xxl);
    grid-column: 1 / -1;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: var(--space-md);
}

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

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: var(--space-md);
}

.modal-content {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 450px;
    overflow: hidden;
}

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

.modal-header h3 {
    font-size: 1.125rem;
    color: var(--text-primary);
}

.modal-close {
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-body {
    padding: var(--space-lg);
}

.modal-body .form-group {
    margin-bottom: var(--space-md);
}

.modal-body label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-xs);
}

.modal-body .form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 1rem;
}

.modal-body .form-input:focus {
    border-color: var(--primary);
    outline: none;
}

.modal-footer {
    display: flex;
    gap: var(--space-sm);
    justify-content: flex-end;
    padding: var(--space-lg);
    border-top: 1px solid var(--border);
}

.btn-secondary {
    padding: 0.625rem 1.25rem;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    border-color: var(--text-secondary);
    color: var(--text-primary);
}

/* Discover Page Responsive */
@media (max-width: 768px) {
    .discover-page {
        padding: var(--space-lg) var(--space-sm);
    }
    
    .search-section {
        padding: var(--space-md);
    }
    
    .search-bar {
        flex-wrap: wrap;
        border-radius: var(--radius-lg);
        padding: var(--space-sm);
    }
    
    .search-input-main {
        flex-basis: 100%;
        order: 1;
    }
    
    .search-country-select {
        flex: 1;
        order: 2;
        min-width: unset;
    }
    
    .search-bar .search-icon {
        order: 0;
    }
    
    .filter-pills {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: var(--space-xs);
        margin: 0 calc(-1 * var(--space-md));
        padding-left: var(--space-md);
        padding-right: var(--space-md);
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    
    .filter-pills::-webkit-scrollbar {
        display: none;
    }
    
    .status-pills {
        flex-wrap: wrap;
    }
    
    .active-filters-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-sm);
    }
    
    .filter-tags {
        width: 100%;
    }
    
    .discover-grid {
        grid-template-columns: 1fr;
    }
    
    .results-bar {
        flex-direction: column;
        gap: var(--space-sm);
        align-items: flex-start;
    }
}
