/* =============================================
   SYNTHROS VENTURES - FIRE EDITION v3
   ============================================= */

:root {
    --bg-primary: #030308;
    --bg-secondary: #0a0a12;
    --bg-card: rgba(255,255,255,0.03);
    --text-primary: #ffffff;
    --text-secondary: #8888a0;
    --text-muted: #555566;
    --accent-primary: #8b5cf6;
    --accent-secondary: #06b6d4;
    --accent-pink: #ec4899;
    --accent-gradient: linear-gradient(135deg, #8b5cf6, #06b6d4);
    --glow-purple: 0 0 60px rgba(139, 92, 246, 0.3);
    --glow-cyan: 0 0 60px rgba(6, 182, 212, 0.3);
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a { color: var(--accent-primary); text-decoration: none; }
a:hover { color: var(--accent-secondary); }

.gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* =============================================
   LOGIN PAGE
   ============================================= */

.login-page {
    min-height: 100vh;
    display: flex;
    position: relative;
}

.bg-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(139, 92, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 92, 246, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

.bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    animation: pulse 8s ease-in-out infinite;
}
.bg-glow.purple { background: var(--accent-primary); left: -200px; top: -200px; }
.bg-glow.cyan { background: var(--accent-secondary); right: -200px; bottom: -200px; animation-delay: 4s; }
.bg-glow.pink { background: var(--accent-pink); right: 20%; top: 20%; animation-delay: 2s; }

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.15; }
    50% { transform: scale(1.2); opacity: 0.25; }
}

.login-hero {
    flex: 1.3;
    padding: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 100px;
    font-size: 13px;
    color: var(--accent-primary);
    margin-bottom: 32px;
    width: fit-content;
}

.hero-badge .dot, .dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 72px;
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 520px;
    line-height: 1.7;
    margin-bottom: 48px;
}

.hero-subtitle strong {
    color: var(--text-primary);
}

/* Live Stats */
.live-stats {
    display: flex;
    gap: 48px;
    margin-bottom: 48px;
}

.live-stat { text-align: left; }

.live-stat-value {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.live-stat-label {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 8px;
}

/* Live Feed */
.live-feed {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 20px;
    padding: 28px;
    max-width: 500px;
}

.live-feed-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.feed-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.feed-item:last-child { border-bottom: none; }

.feed-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
    color: white;
}

.feed-content { flex: 1; }

.feed-text {
    font-size: 14px;
    margin-bottom: 4px;
}
.feed-text strong { color: var(--text-primary); }
.feed-text .venture { color: var(--accent-primary); font-weight: 600; }

.feed-time {
    font-size: 12px;
    color: var(--text-muted);
}

.feed-badge {
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
}
.feed-badge.live {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}
.feed-badge.building {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.powered-by {
    position: absolute;
    bottom: 32px;
    left: 80px;
    font-size: 13px;
    color: var(--text-muted);
    z-index: 1;
}

/* Login Form */
.login-form-section {
    flex: 0.7;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    background: var(--bg-secondary);
    position: relative;
    z-index: 1;
}

.login-form-wrapper {
    width: 100%;
    max-width: 380px;
}

.login-form-wrapper h2 {
    font-family: var(--font-heading);
    font-size: 36px;
    margin-bottom: 8px;
}

.login-subtitle {
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-size: 15px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.form-group input {
    width: 100%;
    padding: 16px 18px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 15px;
    font-family: var(--font-body);
    transition: all 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1);
}

.form-group input::placeholder {
    color: var(--text-muted);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3);
}

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

.btn-ghost {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-primary);
    width: auto;
    padding: 10px 20px;
}

.btn-ghost:hover {
    background: rgba(255,255,255,0.08);
    color: var(--text-primary);
}

.login-footer {
    text-align: center;
    margin-top: 32px;
    color: var(--text-secondary);
    font-size: 14px;
}

.alert {
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 24px;
    font-size: 14px;
}

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

/* =============================================
   NAVBAR
   ============================================= */

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 48px;
    background: rgba(10, 10, 18, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-brand {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
}

.nav-brand .icon {
    width: 36px;
    height: 36px;
    background: var(--accent-gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.nav-links { display: flex; gap: 8px; }

.nav-link {
    padding: 10px 20px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    border-radius: 8px;
    transition: all 0.2s;
}

.nav-link:hover, .nav-link.active {
    background: rgba(255,255,255,0.05);
    color: var(--text-primary);
}

.nav-user {
    display: flex;
    align-items: center;
    gap: 16px;
}

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

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

/* =============================================
   DASHBOARD
   ============================================= */

.dashboard-hero {
    padding: 100px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.dashboard-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(139, 92, 246, 0.12) 0%, transparent 60%);
}

.dashboard-hero h1 {
    font-family: var(--font-heading);
    font-size: 56px;
    margin-bottom: 20px;
    position: relative;
}

.dashboard-hero p {
    color: var(--text-secondary);
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 60px;
    position: relative;
    line-height: 1.7;
}

.stats-row {
    display: flex;
    justify-content: center;
    gap: 80px;
    position: relative;
}

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

.big-stat-value {
    font-family: var(--font-heading);
    font-size: 80px;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.big-stat-label {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 12px;
}

/* =============================================
   VENTURES GRID
   ============================================= */

.ventures-section {
    padding: 0 48px 80px;
    max-width: 1400px;
    margin: 0 auto;
}

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

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 32px;
}

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

.filter-pill {
    padding: 10px 24px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 100px;
    color: var(--text-secondary);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.filter-pill:hover, .filter-pill.active {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: white;
}

.ventures-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
    gap: 28px;
}

.venture-card {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 24px;
    padding: 32px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.venture-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--card-accent, var(--accent-gradient));
    opacity: 0;
    transition: opacity 0.3s;
}

.venture-card:hover {
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-6px);
    box-shadow: var(--glow-purple);
}

.venture-card:hover::before { opacity: 1; }

.venture-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.venture-logo {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    color: white;
}

.venture-status {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 100px;
    font-size: 12px;
    color: #22c55e;
    font-weight: 500;
}

.venture-status .dot {
    width: 6px;
    height: 6px;
    background: #22c55e;
    border-radius: 50%;
}

.venture-status.building {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.venture-status.building .dot {
    background: #f59e0b;
}

.venture-name {
    font-family: var(--font-heading);
    font-size: 26px;
    margin-bottom: 10px;
}

.venture-tagline {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 24px;
    line-height: 1.6;
}

/* Founder Connection */
.founder-connection {
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 24px;
}

.founder-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.founder-photo {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(139, 92, 246, 0.3);
}

.founder-photo-placeholder {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    border: 2px solid rgba(139, 92, 246, 0.3);
    color: white;
}

.founder-meta h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 3px;
}

.founder-meta p {
    font-size: 13px;
    color: var(--text-muted);
}

.founder-why {
    font-size: 13px;
    color: var(--text-secondary);
    font-style: italic;
    padding-left: 16px;
    border-left: 2px solid rgba(139, 92, 246, 0.3);
    line-height: 1.6;
}

.founder-why strong {
    color: var(--accent-primary);
    font-style: normal;
}

.personality-mini {
    display: flex;
    gap: 4px;
    margin-top: 14px;
}

.personality-mini .bar {
    flex: 1;
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    overflow: hidden;
}

.personality-mini .bar .fill {
    height: 100%;
    border-radius: 2px;
}

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

.venture-card-actions .btn {
    flex: 1;
    padding: 14px;
    font-size: 14px;
}

.venture-card-actions .btn-ghost {
    width: auto;
    flex: 0;
    padding: 14px 18px;
}

/* =============================================
   VENTURE DETAIL PAGE
   ============================================= */

.venture-hero {
    padding: 60px 48px;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.venture-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 600px;
    height: 100%;
    background: radial-gradient(ellipse at right, rgba(139, 92, 246, 0.1) 0%, transparent 60%);
}

.venture-hero-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 48px;
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}

.venture-info h1 {
    font-family: var(--font-heading);
    font-size: 48px;
    margin-bottom: 12px;
}

.venture-tagline-large {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.5;
}

.venture-meta {
    display: flex;
    gap: 24px;
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 32px;
}

.venture-meta i {
    color: var(--accent-primary);
    margin-right: 8px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 100px;
    font-size: 13px;
    color: #22c55e;
    margin-bottom: 16px;
}

.status-badge.building {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

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

.venture-actions .btn {
    width: auto;
}

/* Founder Card */
.founder-card {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 24px;
    overflow: hidden;
}

.founder-header {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(6, 182, 212, 0.1));
    padding: 32px;
    text-align: center;
}

.founder-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-primary);
    margin-bottom: 20px;
}

.founder-photo-large {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(139, 92, 246, 0.3);
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: 700;
    color: white;
}

.founder-name {
    font-family: var(--font-heading);
    font-size: 24px;
    margin-bottom: 4px;
}

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

.founder-body {
    padding: 24px 32px 32px;
}

.founder-bio {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.founder-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.founder-stat {
    background: rgba(255,255,255,0.02);
    border-radius: 12px;
    padding: 16px;
}

.founder-stat-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.founder-stat-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.personality-section {
    margin-bottom: 24px;
}

.personality-section h4 {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.personality-traits {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

.trait-label {
    width: 100px;
    font-size: 12px;
    color: var(--text-secondary);
}

.trait-bar {
    flex: 1;
    height: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
    overflow: hidden;
}

.trait-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 1s ease;
}

.trait-value {
    width: 40px;
    font-size: 12px;
    color: var(--accent-primary);
    font-weight: 600;
    text-align: right;
}

.chat-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-pink));
    border: none;
    border-radius: 12px;
    color: white;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.2s;
}

.chat-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(236, 72, 153, 0.3);
}

/* Main Content */
.main-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 48px;
}

.content-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 32px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding-bottom: 16px;
}

.tab {
    padding: 12px 24px;
    color: var(--text-secondary);
    font-size: 14px;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s;
    text-decoration: none;
}

.tab:hover {
    background: rgba(255,255,255,0.03);
    color: var(--text-primary);
}

.tab.active {
    background: var(--accent-primary);
    color: white;
}

.content-section {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 24px;
}

.content-section h2 {
    font-family: var(--font-heading);
    font-size: 20px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.content-section h2 i {
    color: var(--accent-primary);
}

.content-section p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.document-view .markdown-content {
    color: var(--text-secondary);
    line-height: 1.8;
}

.empty-state {
    text-align: center;
    padding: 40px;
    color: var(--text-muted);
}

/* =============================================
   CHAT MODAL
   ============================================= */

.chat-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.chat-modal.active {
    display: flex;
}

.chat-container {
    width: 100%;
    max-width: 600px;
    max-height: 80vh;
    background: var(--bg-secondary);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.chat-header {
    padding: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    gap: 16px;
}

.chat-header-photo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    color: white;
    object-fit: cover;
}

.chat-header-info h3 {
    font-size: 18px;
    margin-bottom: 2px;
}

.chat-header-info p {
    font-size: 13px;
    color: var(--text-muted);
}

.chat-close {
    margin-left: auto;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 18px;
}

.chat-context {
    padding: 16px 24px;
    background: rgba(139, 92, 246, 0.1);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    font-size: 13px;
    color: var(--text-secondary);
}

.chat-context strong {
    color: var(--accent-primary);
}

.suggested-questions {
    padding: 16px 24px;
}

.suggested-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.suggested-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.suggested-btn {
    padding: 8px 14px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 100px;
    color: var(--text-secondary);
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font-body);
}

.suggested-btn:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.3);
    color: var(--accent-primary);
}

.chat-messages {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 250px;
}

.message {
    max-width: 80%;
    padding: 14px 18px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.5;
}

.message.user {
    background: var(--accent-primary);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.message.agent {
    background: rgba(255,255,255,0.05);
    color: var(--text-primary);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.message.typing {
    background: rgba(255,255,255,0.05);
    color: var(--text-muted);
}

.typing-dots {
    display: flex;
    gap: 4px;
}

.typing-dots span {
    width: 8px;
    height: 8px;
    background: var(--text-muted);
    border-radius: 50%;
    animation: typingBounce 1.4s infinite;
}

.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-4px); }
}

.chat-input-area {
    padding: 20px 24px;
    border-top: 1px solid rgba(255,255,255,0.06);
    display: flex;
    gap: 12px;
}

.chat-input {
    flex: 1;
    padding: 14px 18px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 14px;
    font-family: var(--font-body);
}

.chat-input:focus {
    outline: none;
    border-color: var(--accent-primary);
}

.chat-send {
    width: 48px;
    height: 48px;
    background: var(--accent-gradient);
    border: none;
    border-radius: 12px;
    color: white;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.2s;
}

.chat-send:hover {
    transform: scale(1.05);
}

/* =============================================
   FOOTER
   ============================================= */

.footer {
    text-align: center;
    padding: 60px;
    color: var(--text-muted);
    font-size: 14px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 1024px) {
    .login-page { flex-direction: column; }
    .login-hero { padding: 60px 40px; }
    .hero-title { font-size: 48px; }
    .live-stats { gap: 32px; }
    .live-stat-value { font-size: 40px; }
    .login-form-section { padding: 40px; }
    .powered-by { position: static; margin-top: 32px; }
    
    .venture-hero-content { grid-template-columns: 1fr; }
    .founder-card { margin-top: 32px; }
    
    .ventures-grid { grid-template-columns: 1fr; }
    .stats-row { gap: 40px; }
    .big-stat-value { font-size: 56px; }
}

@media (max-width: 768px) {
    .navbar { padding: 16px 20px; }
    .nav-links { display: none; }
    
    .dashboard-hero { padding: 60px 20px; }
    .dashboard-hero h1 { font-size: 36px; }
    
    .ventures-section { padding: 0 20px 40px; }
    .venture-card { padding: 24px; }
    
    .main-content { padding: 24px; }
}

/* =============================================
   VENTURE PAGE LAYOUT FIX
   ============================================= */

.venture-page .venture-hero {
    padding-bottom: 48px;
}

.venture-page .founder-card {
    position: sticky;
    top: 80px;
    align-self: start;
}

.venture-page .venture-info .content-tabs {
    margin-top: 32px;
    margin-bottom: 24px;
}

.venture-page .venture-info .content-section {
    margin-bottom: 24px;
}

/* =============================================
   PRICING GRID (Revenue Model)
   ============================================= */

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

.pricing-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
}

.pricing-card.featured {
    background: rgba(139, 92, 246, 0.1);
    border-color: var(--accent-primary);
}

.pricing-tier {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.pricing-price {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.pricing-price span {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-secondary);
}

.pricing-features {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.pricing-philosophy {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 16px;
}

/* =============================================
   MARKDOWN CONTENT STYLING
   ============================================= */

.markdown-content { line-height: 1.7; }
.markdown-content h2 { font-size: 22px; margin: 24px 0 12px; color: var(--text-primary); font-family: var(--font-heading); }
.markdown-content h3 { font-size: 18px; margin: 20px 0 10px; color: var(--text-primary); font-family: var(--font-heading); }
.markdown-content h4 { font-size: 16px; margin: 16px 0 8px; color: var(--text-primary); font-weight: 600; }
.markdown-content h2:first-child, .markdown-content h3:first-child, .markdown-content h4:first-child { margin-top: 0; }
.markdown-content p { margin: 0 0 12px; }
.markdown-content p:last-child { margin-bottom: 0; }
.markdown-content strong { color: var(--text-primary); }
.markdown-content ul { margin: 12px 0; padding-left: 24px; list-style: disc; }
.markdown-content li { margin: 4px 0; }
