/* 🚀 GIRIŞIMLER SAYFASI - MODERN DESIGN SYSTEM 2025 */

:root {
    /* Theme Colors - Apple Design System */
    --primary-50: #f0f9ff;
    --primary-100: #e0f2fe;
    --primary-500: #007AFF;
    --primary-600: #0056CC;
    --primary-700: #0056CC;
    --primary-800: #0056CC;
    
    /* Apple System Colors */
    --neutral-50: #F2F2F7;
    --neutral-100: #F2F2F7;
    --neutral-200: #E5E5EA;
    --neutral-300: #D1D1D6;
    --neutral-400: #C7C7CC;
    --neutral-500: #AEAEB2;
    --neutral-600: #8E8E93;
    --neutral-700: #3C3C43;
    --neutral-800: #1C1C1E;
    --neutral-900: #000000;
    
    /* Theme Gradients */
    --gradient-primary: linear-gradient(135deg, #007AFF 0%, #5AC8FA 100%);
    --gradient-secondary: linear-gradient(135deg, #34C759 0%, #5AC8FA 100%);
    --gradient-accent: linear-gradient(135deg, #007AFF 0%, #5856D6 100%);
    --gradient-success: linear-gradient(135deg, #34C759 0%, #30D158 100%);
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.25);
    --glass-border: rgba(255, 255, 255, 0.18);
    --glass-shadow: rgba(0, 122, 255, 0.15);
    
    /* Spacing System */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-3xl: 2rem;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --shadow-glass: 0 8px 32px 0 rgba(0, 122, 255, 0.15);
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Typography */
    --font-display: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --font-body: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* 🎨 BASE STYLES */
.main-content {
    background: var(--neutral-50);
    min-height: 100vh;
    font-family: var(--font-body);
}

/* 🎯 COMPACT WELCOME BANNER */
.welcome-banner {
    background: linear-gradient(135deg, var(--neutral-50) 0%, rgba(255,255,255,0.95) 100%);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-2xl);
    margin: var(--space-6) var(--space-6) 0;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.welcome-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
}

.welcome-banner:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.welcome-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-5) var(--space-6);
    gap: var(--space-6);
    position: relative;
    z-index: 2;
}

.welcome-text {
    flex: 1;
}

.welcome-text h3 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--neutral-900);
    margin: 0 0 var(--space-2) 0;
    letter-spacing: -0.025em;
}

.welcome-text p {
    font-size: 0.9375rem;
    color: var(--neutral-600);
    margin: 0;
    line-height: 1.5;
    font-weight: 500;
}

.welcome-actions {
    display: flex;
    gap: var(--space-3);
    align-items: center;
    flex-shrink: 0;
}

.welcome-actions .btn {
    padding: var(--space-2) var(--space-4);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.welcome-actions .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.5) 50%, transparent 70%);
    transition: left var(--transition-slow);
}

.welcome-actions .btn:hover::before {
    left: 100%;
}

.welcome-actions .btn-primary {
    background: var(--gradient-primary);
    color: white;
    border: none;
    box-shadow: var(--shadow-sm);
}

.welcome-actions .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.welcome-actions .btn-outline {
    background: transparent;
    color: var(--primary-600);
    border: 1.5px solid var(--primary-500);
}

.welcome-actions .btn-outline:hover {
    background: var(--primary-500);
    color: white;
    transform: translateY(-1px);
}

/* 📊 VENTURES LAYOUT */
.ventures-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: var(--space-8);
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--space-8) var(--space-6);
    align-items: start;
}

/* 🎯 MODERN SIDEBAR */
.ventures-sidebar {
    position: sticky;
    
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-3xl);
    padding: var(--space-6);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    scrollbar-color: rgba(158, 158, 158, 0.904) ;
}

.ventures-sidebar:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-2px);
}

.ventures-sidebar::-webkit-scrollbar {
    width: 4px;
}

.ventures-sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.ventures-sidebar::-webkit-scrollbar-thumb {
    background: var(--neutral-300);
    border-radius: var(--radius-full);
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-4);
    border-bottom: 2px solid var(--neutral-200);
}

.sidebar-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--neutral-900);
    font-family: var(--font-display);
}

.sidebar-close {
    background: var(--neutral-100);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--neutral-600);
    transition: all var(--transition-fast);
}

.sidebar-close:hover {
    background: var(--neutral-200);
    color: var(--neutral-900);
}

.sidebar-section {
    margin-bottom: var(--space-8);
}

.sidebar-section h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--neutral-900);
    margin-bottom: var(--space-4);
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3);
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--radius-xl);
    font-family: var(--font-display);
}

.sidebar-section h3 i {
    font-size: 0.875rem;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.filter-group label {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--neutral-700);
    cursor: pointer;
    padding: var(--space-3);
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
    background: var(--neutral-50);
    border: 1px solid var(--neutral-100);
}

.filter-group label:hover {
    background: var(--primary-50);
    border-color: var(--primary-200);
    color: var(--neutral-900);
    transform: translateX(4px);
}

.filter-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-500);
    border-radius: var(--radius-sm);
}

.form-select {
    width: 100%;
    padding: var(--space-3);
    border: 2px solid var(--neutral-200);
    border-radius: var(--radius-lg);
    background: white;
    color: var(--neutral-900);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all var(--transition-fast);
    font-family: var(--font-body);
}

.form-select:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px var(--primary-100);
}

.filter-actions {
    margin-top: var(--space-6);
}

.filter-actions .btn {
    width: 100%;
    padding: var(--space-3);
    border-radius: var(--radius-lg);
    font-size: 0.875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    transition: all var(--transition-normal);
    background: var(--neutral-100);
    color: var(--neutral-700);
    border: 2px solid var(--neutral-200);
}

.filter-actions .btn:hover {
    background: var(--neutral-200);
    color: var(--neutral-900);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* 📋 MAIN CONTENT AREA */
.ventures-main {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-3xl);
    border: 1px solid var(--neutral-200);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.ventures-header {
    background: linear-gradient(135deg, var(--neutral-50) 0%, rgba(255,255,255,0.9) 100%);
    padding: var(--space-8);
    border-bottom: 1px solid var(--neutral-200);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-6);
    flex-wrap: wrap;
    gap: var(--space-4);
}

.header-top h1 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--neutral-900);
    margin: 0;
    letter-spacing: -0.025em;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-actions {
    display: flex;
    gap: var(--space-3);
    align-items: center;
    flex-wrap: wrap;
}

.filter-toggle-btn {
    display: none;
    padding: var(--space-3) var(--space-4);
    border: 2px solid var(--primary-500);
    background: transparent;
    color: var(--primary-600);
    border-radius: var(--radius-lg);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-toggle-btn:hover {
    background: var(--primary-500);
    color: white;
    transform: translateY(-1px);
}

/* 🏷️ SORTING TABS */
.sorting-tabs {
    display: flex;
    gap: var(--space-2);
    margin-bottom: var(--space-6);
    background: var(--neutral-100);
    padding: var(--space-2);
    border-radius: var(--radius-xl);
    width: fit-content;
}

.sort-tab {
    padding: var(--space-3) var(--space-5);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: var(--neutral-600);
    font-weight: 500;
    font-size: 0.875rem;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: var(--space-2);
    position: relative;
    overflow: hidden;
}

.sort-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: left var(--transition-normal);
    z-index: -1;
}

.sort-tab:hover::before,
.sort-tab.active::before {
    left: 0;
}

.sort-tab:hover,
.sort-tab.active {
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.sort-tab i {
    font-size: 0.75rem;
}

/* 🔍 SEARCH SECTION */
.search-section {
    position: relative;
}

.search-box {
    position: relative;
    background: white;
    border: 2px solid var(--neutral-200);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4) var(--space-5);
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.search-box:focus-within {
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px var(--primary-100), var(--shadow-lg);
    transform: translateY(-2px);
}

.search-box i {
    color: var(--neutral-500);
    font-size: 1.125rem;
}

.search-box input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1rem;
    font-weight: 500;
    color: var(--neutral-900);
    background: transparent;
    font-family: var(--font-body);
}

.search-box input::placeholder {
    color: var(--neutral-500);
}

/* 📦 VENTURES GRID */
.ventures-grid {
    padding: var(--space-8);
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: var(--space-8);
    min-height: 400px;
}

/* 💳 VENTURE CARD */
.venture-card {
    background: white;
    border-radius: var(--radius-3xl);
    border: 1px solid var(--neutral-200);
    overflow: hidden;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
    position: relative;
    cursor: pointer;
}

.venture-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-normal);
    z-index: -1;
}

.venture-card:hover::before {
    opacity: 0.03;
}

.venture-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
    border-color: var(--primary-200);
}

.venture-image {
    height: 200px;
    overflow: hidden;
    position: relative;
    background: var(--neutral-100);
}

.venture-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.venture-card:hover .venture-image img {
    transform: scale(1.05);
}

.venture-content {
    padding: var(--space-6);
}

.venture-header {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-4);
    cursor: pointer;
}

.venture-logo {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-xl);
    object-fit: cover;
    border: 3px solid white;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
}

.venture-card:hover .venture-logo {
    transform: scale(1.1);
    border-color: var(--primary-100);
}

.venture-info h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--neutral-900);
    margin: 0 0 var(--space-1) 0;
    font-family: var(--font-display);
    line-height: 1.3;
}

.venture-info p {
    font-size: 0.875rem;
    color: var(--neutral-600);
    margin: 0;
    font-weight: 500;
}

.venture-meta {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
}

.meta-tag {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    font-size: 0.75rem;
    font-weight: 600;
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    width: fit-content;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    pointer-events: none;
    user-select: none;
}

.meta-tag.investment {
    background: linear-gradient(135deg, #34C759, #30D158);
    color: white;
    border: 1px solid rgba(52, 199, 89, 0.3);
}

.meta-tag.no-investment {
    background: var(--neutral-100);
    color: var(--neutral-700);
    border: 1px solid var(--neutral-300);
}

.meta-tag.stage {
    background: var(--gradient-primary);
    color: white;
    border: 1px solid rgba(0, 122, 255, 0.3);
}

.venture-description {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--neutral-700);
    margin-bottom: var(--space-6);
    font-family: var(--font-body);
    
    /* Text overflow handling */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    max-height: calc(1.6em * 3); /* 3 lines max */
    
    /* Alternative for better browser support */
    max-height: 4.8em; /* 3 lines * 1.6 line-height */
    position: relative;
}

.venture-description::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30px;
    height: 1.6em;
    background: linear-gradient(to right, transparent, var(--neutral-50));
    pointer-events: none;
}

.venture-bottom {
    border-top: 1px solid var(--neutral-100);
    padding-top: var(--space-4);
}

.venture-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 🎯 ACTION BUTTONS */
.btn {
    border: none;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    text-decoration: none;
    font-family: var(--font-body);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.5) 50%, transparent 70%);
    transition: left var(--transition-slow);
}

.btn:hover::before {
    left: 100%;
}

.btn-support {
    padding: var(--space-3) var(--space-4);
    background: var(--neutral-100);
    color: var(--neutral-700);
    border: 2px solid var(--neutral-200);
    min-width: 80px;
}

.btn-support:hover {
    background: var(--primary-50);
    color: var(--primary-600);
    border-color: var(--primary-200);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-support.supported {
    background: var(--gradient-success);
    color: white;
    border-color: transparent;
}

.btn-support.supported:hover {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.btn-outline {
    padding: var(--space-3) var(--space-6);
    background: transparent;
    color: var(--primary-600);
    border: 2px solid var(--primary-500);
}

.btn-outline:hover {
    background: var(--primary-500);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    border: none;
    box-shadow: var(--shadow-md);
    padding: var(--space-3) var(--space-6);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.support-count {
    font-weight: 700;
    font-size: 0.875rem;
}

/* 🎭 MODALS */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: all var(--transition-normal);
    opacity: 0;
    visibility: hidden;
}

.modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: var(--radius-3xl);
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-2xl);
    border: 1px solid var(--neutral-200);
    transform: scale(0.9);
    transition: all var(--transition-normal);
}

.modal.show .modal-content {
    transform: scale(1);
}

.modal-xl {
    max-width: 900px;
}

.modal-md {
    max-width: 500px;
}

.modal-header {
    background: var(--gradient-primary);
    color: white;
    padding: var(--space-6) var(--space-8);
    display: flex;
    justify-content: space-between;
    align-items: center;

}

.modal-header h2,
.modal-header h3 {
    font-family: var(--font-display);
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.modal-header h2 {
    font-size: 1.5rem;
}

.modal-header h3 {
    font-size: 1.25rem;
}

.close-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.modal-body {
    padding: var(--space-8);
}

/* 📝 FORMS */
.form-progress {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-8);
    padding: var(--space-6);
    background: var(--neutral-50);
    border-radius: var(--radius-2xl);
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    opacity: 0.5;
    transition: all var(--transition-normal);
}

.progress-step.active {
    opacity: 1;
    transform: scale(1.05);
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: var(--neutral-300);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    transition: all var(--transition-normal);
}

.progress-step.active .step-number {
    background: var(--gradient-primary);
    box-shadow: var(--shadow-lg);
}

.step-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--neutral-600);
    text-align: center;
}

.progress-step.active .step-label {
    color: var(--neutral-900);
}

.form-step {
    display: none;
    animation: fadeInUp var(--transition-normal) ease-out;
}

.form-step.active {
    display: block;
}

.form-step h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: var(--space-6);
    text-align: center;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
}

.form-group {
    margin-bottom: var(--space-6);
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--neutral-900);
    margin-bottom: var(--space-2);
    font-size: 0.9375rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: var(--space-4);
    border: 2px solid var(--neutral-200);
    border-radius: var(--radius-xl);
    font-size: 1rem;
    font-family: var(--font-body);
    transition: all var(--transition-fast);
    background: white;
    color: var(--neutral-900);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px var(--primary-100);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.char-counter {
    font-size: 0.75rem;
        color: var(--neutral-500);
    margin-top: var(--space-1);
}

.file-upload-area {
    border: 2px dashed var(--neutral-300);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    background: var(--neutral-50);
}

.file-upload-area:hover {
    border-color: var(--primary-500);
    background: var(--primary-50);
    transform: translateY(-2px);
}

.file-upload-area i {
    font-size: 2rem;
    color: var(--neutral-400);
    margin-bottom: var(--space-3);
}

.file-upload-area p {
    font-weight: 600;
    color: var(--neutral-700);
    margin-bottom: var(--space-2);
}

.file-upload-area small {
    color: var(--neutral-500);
}

.file-preview {
    margin-top: var(--space-3);
    padding: var(--space-3);
    background: var(--neutral-50);
    border-radius: var(--radius-lg);
    font-size: 0.875rem;
    color: var(--neutral-700);
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.file-preview img {
    max-width: 120px;
    max-height: 80px;
    width: auto;
    height: auto;
    border-radius: var(--radius-md);
    border: 1px solid var(--neutral-200);
    object-fit: cover;
    box-shadow: var(--shadow-sm);
}

.file-preview .preview-info {
    flex: 1;
}

.file-preview .preview-name {
    font-weight: 600;
    color: var(--neutral-900);
    margin-bottom: var(--space-1);
}

.file-preview .preview-size {
    color: var(--neutral-600);
    font-size: 0.75rem;
    margin-bottom: var(--space-2);
}

.file-preview .remove-file {
    background: #ef4444;
    color: white;
    border: none;
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.file-preview .remove-file:hover {
    background: #dc2626;
    transform: translateY(-1px);
}

.file-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: var(--neutral-100);
    border-radius: var(--radius-lg);
    border: 1px solid var(--neutral-200);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    cursor: pointer;
    font-weight: 500;
    color: var(--neutral-700);
    padding: var(--space-4);
    background: var(--neutral-50);
    border-radius: var(--radius-lg);
    border: 1px solid var(--neutral-200);
    transition: all var(--transition-fast);
}

.checkbox-label:hover {
    background: var(--primary-50);
    border-color: var(--primary-200);
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--primary-500);
}

.form-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: var(--space-8);
    padding-top: var(--space-6);
    border-top: 1px solid var(--neutral-200);
}

.btn-secondary {
    background: var(--neutral-200);
    color: var(--neutral-700);
    padding: var(--space-3) var(--space-6);
}

.btn-secondary:hover {
    background: var(--neutral-300);
    color: var(--neutral-900);
}

.btn-success {
    background: var(--gradient-success);
    color: white;
    padding: var(--space-3) var(--space-6);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

/* 🏷️ TAGS & LABELS */
.team-section,
.documents-section {
    margin-top: var(--space-8);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-4);
}

.section-header h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--neutral-900);
}

.team-members-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.legal-notice {
    background: var(--neutral-50);
    padding: var(--space-4);
    border-radius: 0 0 var(--radius-3xl) var(--radius-3xl);
    border-top: 1px solid var(--neutral-200);
    text-align: center;
}

.legal-notice small {
    color: var(--neutral-600);
    font-size: 0.75rem;
}

.legal-notice a {
    color: var(--primary-600);
    text-decoration: none;
    font-weight: 600;
}

.legal-notice a:hover {
    text-decoration: underline;
}

/* 🔍 SEARCH RESULTS */
.search-results {
    margin-top: var(--space-4);
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-lg);
    background: white;
}

.search-result-item {
    padding: var(--space-3);
    border-bottom: 1px solid var(--neutral-100);
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.search-result-item:hover {
    background: var(--primary-50);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item .user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--neutral-200);
    flex-shrink: 0;
}

.search-result-item .user-info {
    flex: 1;
    min-width: 0; /* Allow text to truncate */
}

.search-result-item .user-name {
    font-weight: 600;
    color: var(--neutral-900);
    font-size: 0.875rem;
    margin-bottom: var(--space-1);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-item .user-email {
    color: var(--neutral-600);
    font-size: 0.75rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Team member search results container */
#teamMemberSearchResults.show {
    display: block;
}

#teamMemberSearchResults {
    display: none;
    margin-top: var(--space-2);
}

/* 🎨 ALERTS */
.alert {
    padding: var(--space-4);
    border-radius: var(--radius-lg);
    border-left: 4px solid;
    margin: var(--space-4) 0;
}

.alert-info {
    background: var(--primary-50);
    border-color: var(--primary-500);
    color: var(--primary-700);
}

/* 📱 EMPTY STATE */
.empty-state {
    text-align: center;
    padding: var(--space-20);
    color: var(--neutral-500);
    grid-column: 1 / -1;
}

.empty-state i {
    font-size: 4rem;
    color: var(--neutral-300);
    margin-bottom: var(--space-6);
    display: block;
}

.empty-state h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--neutral-700);
    margin-bottom: var(--space-3);
    font-family: var(--font-display);
}

.empty-state p {
    font-size: 1rem;
    margin-bottom: var(--space-8);
}

/* 📱 RESPONSIVE DESIGN */
@media (max-width: 1200px) {
    .ventures-layout {
        grid-template-columns: 280px 1fr;
        gap: var(--space-6);
    }
    
    .ventures-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    }
}

@media (max-width: 1024px) {
    .ventures-layout {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }
    
    .ventures-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: 320px;
        height: 100vh;
        max-height: 100vh;
        z-index: 10001;
        transform: translateX(-100%);
        transition: transform var(--transition-normal);
        border-radius: 0 var(--radius-3xl) var(--radius-3xl) 0;
    }
    
    .ventures-sidebar.open {
        transform: translateX(0);
    }
    
    .sidebar-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(5px);
        z-index: 10000;
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-normal);
    }
    
    .sidebar-backdrop.open {
        opacity: 1;
        visibility: visible;
    }
    
    .sidebar-close {
    display: flex;
    }
    
    .filter-toggle-btn {
        display: inline-flex;
    }
    
    .ventures-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: var(--space-6);
    }
}

@media (max-width: 768px) {
    .welcome-banner {
        margin: var(--space-4) var(--space-4) 0;
        border-radius: var(--radius-xl);
    }
    
    .meta-tag {
        font-size: 0.6875rem;
        padding: var(--space-1) var(--space-2);
        border-radius: var(--radius-md);
        opacity: 0.9;
        cursor: default;
        touch-action: none;
        -webkit-tap-highlight-color: transparent;
    }
    
    .welcome-content {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-4);
        padding: var(--space-4) var(--space-5);
    }
    
    .welcome-text {
        text-align: left;
    }
    
    .welcome-text h3 {
        font-size: 1rem;
        margin-bottom: var(--space-2);
    }
    
    .welcome-text p {
        font-size: 0.875rem;
    }
    
    .welcome-actions {
        width: 100%;
        justify-content: flex-start;
    }
    
    .ventures-layout {
        padding: var(--space-6) var(--space-4);
    }
    
    .ventures-header {
        padding: var(--space-6);
    }
    
    .header-top {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .ventures-grid {
        grid-template-columns: 1fr;
        gap: var(--space-4);
        padding: var(--space-6);
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-progress {
        padding: var(--space-4);
    }
    
    .progress-step {
        gap: var(--space-1);
    }
    
    .step-number {
        width: 32px;
        height: 32px;
        font-size: 0.75rem;
    }
    
    .step-label {
        font-size: 0.625rem;
    }
    
    .modal-content {
        width: 95%;
        margin: var(--space-4);
    }
    
    .modal-header,
    .modal-body {
        padding: var(--space-4);
    }
}

@media (max-width: 480px) {
    .welcome-content {
        padding: var(--space-4);
    }
    
    .welcome-actions {
        flex-direction: column;
    width: 100%;
    }
    
    .welcome-actions .btn {
        width: 100%;
    justify-content: center;
}

    .ventures-sidebar {
    width: 100%;
        border-radius: 0;
    }
    
    .ventures-grid {
        padding: var(--space-4);
    }
    
    .venture-card {
        border-radius: var(--radius-2xl);
    }
    
    .venture-content {
        padding: var(--space-4);
    }
    
    .sorting-tabs {
        width: 100%;
        justify-content: space-around;
    }
    
    .sort-tab {
        flex: 1;
        text-align: center;
        padding: var(--space-3);
    }
}

/* 🎭 ANIMATIONS */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

/* 🔧 UTILITY CLASSES */
.btn-sm {
    padding: var(--space-2) var(--space-4);
    font-size: 0.8125rem;
}

/* 🌗 DARK MODE SUPPORT */
@media (prefers-color-scheme: dark) {
    :root {
        --glass-bg: rgba(0, 0, 0, 0.25);
        --glass-border: rgba(255, 255, 255, 0.1);
    }
}

/* ♿ ACCESSIBILITY */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* 🎨 FOCUS STATES */
*:focus-visible {
    outline: 2px solid var(--primary-500);
    outline-offset: 2px;
}

/* 📊 NOTIFICATION SYSTEM */
.notification-container {
    position: fixed;
    top: var(--space-6);
    right: var(--space-6);
    z-index: 10001;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    max-width: 400px;
}

.notification {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-2xl);
    padding: var(--space-4);
    box-shadow: var(--shadow-xl);
    animation: slideInRight var(--transition-normal) ease-out;
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.notification-success {
    border-left: 4px solid var(--primary-500);
}

.notification-error {
    border-left: 4px solid #ef4444;
}

/* 🖥️ DESKTOP ONLY - HEADER ACTIONS DESKTOP */
@media (min-width: 769px) {
    .header-actions-desktop {
        display: flex !important;
    }
    
    .header-actions-mobile {
        display: none !important;
    }
}

/* 📱 MOBILE ONLY - HIDE DESKTOP HEADER ACTIONS */
@media (max-width: 768px) {
    .header-actions-desktop {
        display: none !important;
    }
    
    .header-actions-mobile {
        display: flex !important;
        gap: 10px !important;
        width: 100% !important;
        justify-content: space-between !important;
        margin-top: 10px !important;
    }
    
    .header-actions-mobile .btn,
    .header-actions-mobile a.btn {
        flex: 1 !important;
        min-width: 0 !important;
        padding: var(--spacing-2) var(--spacing-3) !important;
        font-size: 13px !important;
    }
}

/* 🎯 CLEAN RESPONSIVE HEADER ACTIONS - NO CONFLICTS */
/* Desktop: Show desktop, hide mobile */
@media (min-width: 769px) {
    .header-actions-desktop {
        display: flex !important;
    }
    
    .header-actions-mobile {
        display: none !important;
    }
}

/* Mobile: Hide desktop, show mobile with 50-50 buttons */
@media (max-width: 768px) {
    .header-actions-desktop {
        display: none !important;
    }
    
    .header-actions-mobile {
        display: flex !important;
        gap: 10px !important;
        width: 100% !important;
        justify-content: space-between !important;
        margin-top: 10px !important;
    }
    
    .header-actions-mobile .btn,
    .header-actions-mobile a.btn {
        flex: 1 !important;
        min-width: 0 !important;
    }
}