/* ==========================================
   KulturAI - CSS Stylesheet
   ========================================== */

/* --- CSS Variables --- */
:root {
    --bg-primary: #0B1120;
    --bg-secondary: #1e293b;
    --bg-tertiary: #0f172a;
    --bg-card: #1e293b;
    --bg-card-hover: #263348;
    --bg-input: #0f172a;

    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --accent-indigo: #6366f1;
    --accent-purple: #a855f7;
    --accent-pink: #ec4899;
    --accent-teal: #14b8a6;

    --gradient-main: linear-gradient(135deg, #6366f1, #a855f7, #ec4899);
    --gradient-subtle: linear-gradient(135deg, rgba(99,102,241,0.15), rgba(168,85,247,0.15));

    --border-color: rgba(148, 163, 184, 0.1);
    --border-hover: rgba(148, 163, 184, 0.2);

    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --info: #3b82f6;

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.5);
    --shadow-glow: 0 0 30px rgba(99,102,241,0.2);

    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Space Grotesk', 'Inter', sans-serif;

    --transition: 0.2s ease;
    --transition-slow: 0.4s ease;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--bg-secondary); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
}

a { color: var(--accent-indigo); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-purple); }

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

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.hidden { display: none !important; }
.required { color: var(--accent-pink); }

/* --- Buttons --- */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 20px;
    border: none; border-radius: var(--radius-md);
    font-family: var(--font-body); font-size: 14px; font-weight: 500;
    cursor: pointer; transition: all var(--transition);
    white-space: nowrap; text-decoration: none;
    position: relative; overflow: hidden;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
    background: var(--gradient-main); color: white;
    box-shadow: 0 2px 10px rgba(99,102,241,0.3);
}
.btn-primary:hover { box-shadow: 0 4px 20px rgba(99,102,241,0.5); transform: translateY(-1px); }

.btn-ghost {
    background: transparent; color: var(--text-secondary);
    border: 1px solid var(--border-color);
}
.btn-ghost:hover { color: var(--text-primary); border-color: var(--border-hover); background: rgba(255,255,255,0.03); }

.btn-danger { background: var(--error); color: white; }
.btn-danger:hover { background: #dc2626; }

.btn-sm { padding: 6px 14px; font-size: 13px; }
.btn-xs { padding: 4px 10px; font-size: 12px; }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-full { width: 100%; justify-content: center; }

.btn-spinner { display: inline-flex; }

/* --- Navigation --- */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(11, 17, 32, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    height: 64px;
}

.nav-container {
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between;
    height: 100%;
}

.nav-logo {
    display: flex; align-items: center; gap: 10px;
    font-family: var(--font-heading); font-size: 22px; color: var(--text-primary);
    text-decoration: none;
}
.nav-logo i { color: var(--accent-purple); font-size: 24px; }
.nav-logo strong { background: var(--gradient-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.nav-links { display: flex; gap: 4px; }
.nav-link {
    display: flex; align-items: center; gap: 6px;
    padding: 8px 16px; border-radius: var(--radius-md);
    color: var(--text-secondary); font-size: 14px; font-weight: 500;
    transition: all var(--transition); text-decoration: none;
}
.nav-link:hover, .nav-link.active { color: var(--text-primary); background: rgba(255,255,255,0.05); }
.nav-link.active { color: var(--accent-indigo); }

.nav-actions { display: flex; align-items: center; gap: 12px; }
/* Language Dropdown */
.lang-dropdown { position: relative; z-index: 100; }
.lang-dropdown-btn { display: flex; align-items: center; gap: 6px; padding: 6px 12px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); border-radius: 8px; color: #e0e0e0; font-size: 13px; cursor: pointer; transition: all 0.2s; white-space: nowrap; }
.lang-dropdown-btn:hover { background: rgba(255,255,255,0.12); }
.lang-flag { font-size: 16px; line-height: 1; }
.lang-arrow { font-size: 10px; opacity: 0.6; transition: transform 0.2s; }
.lang-dropdown.open .lang-arrow { transform: rotate(180deg); }
.lang-dropdown-menu { display: none; position: absolute; top: calc(100% + 6px); right: 0; background: #1a1a2e; border: 1px solid rgba(255,255,255,0.12); border-radius: 10px; padding: 6px; min-width: 160px; box-shadow: 0 12px 40px rgba(0,0,0,0.5); z-index: 200; }
.lang-dropdown.open .lang-dropdown-menu { display: block; }
.lang-option { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 12px; background: none; border: none; color: #c0c0d0; font-size: 13px; cursor: pointer; border-radius: 6px; transition: all 0.15s; text-align: left; }
.lang-option:hover { background: rgba(255,255,255,0.08); color: white; }
.lang-option.active { background: rgba(99,102,241,0.15); color: white; }
.nav-auth { display: flex; align-items: center; gap: 8px; }

.nav-user { position: relative; }
.user-menu-btn {
    display: flex; align-items: center; gap: 8px;
    background: transparent; border: 1px solid var(--border-color);
    padding: 6px 12px; border-radius: var(--radius-md);
    color: var(--text-primary); cursor: pointer; font-size: 14px;
    transition: all var(--transition);
}
.user-menu-btn:hover { border-color: var(--border-hover); }

.user-avatar {
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--gradient-main);
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 600; color: white;
}

.user-dropdown {
    position: absolute; top: calc(100% + 8px); right: 0;
    background: var(--bg-secondary); border: 1px solid var(--border-color);
    border-radius: var(--radius-md); min-width: 180px;
    box-shadow: var(--shadow-lg); overflow: hidden; z-index: 200;
}
.user-dropdown a {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 16px; color: var(--text-secondary); font-size: 14px;
    transition: all var(--transition);
}
.user-dropdown a:hover { background: rgba(255,255,255,0.05); color: var(--text-primary); }

.nav-mobile-toggle {
    display: none;
    background: transparent; border: none;
    color: var(--text-primary); font-size: 20px; cursor: pointer;
}

/* --- Modal --- */
.modal-overlay {
    position: fixed; inset: 0; z-index: 500;
    background: rgba(0,0,0,0.7); backdrop-filter: blur(8px);
    display: flex; align-items: center; justify-content: center;
    padding: 24px;
    animation: fadeIn 0.2s ease;
}

.modal {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    width: 100%; max-width: 440px;
    box-shadow: var(--shadow-lg);
    animation: slideUp 0.3s ease;
    position: relative;
}

.modal-close {
    position: absolute; top: 16px; right: 16px;
    background: transparent; border: none;
    color: var(--text-muted); font-size: 18px; cursor: pointer;
    transition: color var(--transition);
}
.modal-close:hover { color: var(--text-primary); }

.modal-header { padding: 32px 32px 0; }
.modal-body { padding: 24px 32px 32px; }

.auth-tabs { display: flex; gap: 4px; background: var(--bg-primary); border-radius: var(--radius-md); padding: 4px; }
.auth-tab {
    flex: 1; padding: 10px; text-align: center;
    background: transparent; border: none; border-radius: var(--radius-sm);
    color: var(--text-secondary); font-size: 14px; font-weight: 500;
    cursor: pointer; transition: all var(--transition);
}
.auth-tab.active { background: var(--bg-secondary); color: var(--text-primary); }

/* --- Forms --- */
.form-group { margin-bottom: 20px; }
.form-group label {
    display: flex; align-items: center; gap: 8px;
    margin-bottom: 6px; font-size: 13px; font-weight: 500; color: var(--text-secondary);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.input-icon {
    position: relative;
}
.input-icon i {
    position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
    color: var(--text-muted); font-size: 14px; pointer-events: none;
}
.input-icon input, .input-icon select { padding-left: 40px; }

input[type="text"], input[type="email"], input[type="password"],
input[type="number"], input[type="url"], select, textarea {
    width: 100%; padding: 12px 14px;
    background: var(--bg-input); border: 1px solid var(--border-color);
    border-radius: var(--radius-md); color: var(--text-primary);
    font-family: var(--font-body); font-size: 14px;
    transition: all var(--transition);
}
input:focus, select:focus, textarea:focus {
    outline: none; border-color: var(--accent-indigo);
    box-shadow: 0 0 0 3px rgba(99,102,241,0.15);
}
input::placeholder, textarea::placeholder { color: var(--text-muted); }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
select option { background: var(--bg-secondary); color: var(--text-primary); }
textarea { resize: vertical; min-height: 100px; line-height: 1.6; }

/* --- Views --- */
.view { padding-top: 64px; min-height: 100vh; }

.page-header {
    padding: 48px 0 32px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 32px;
}
.page-header h1 { font-size: 28px; display: flex; align-items: center; gap: 12px; }
.page-header h1 i { color: var(--accent-purple); }
.page-header p { color: var(--text-secondary); margin-top: 8px; font-size: 15px; }

/* --- Hero Section --- */
.hero {
    position: relative; min-height: calc(100vh - 64px);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; padding: 80px 24px;
}

.hero-bg { position: absolute; inset: 0; }
.hero-gradient {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(99,102,241,0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(168,85,247,0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(236,72,153,0.08) 0%, transparent 50%);
}
.hero-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(148,163,184,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148,163,184,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-content { position: relative; text-align: center; max-width: 800px; }

.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 20px; border-radius: 50px;
    background: var(--gradient-subtle);
    border: 1px solid rgba(99,102,241,0.2);
    color: var(--accent-indigo); font-size: 13px; font-weight: 500;
    margin-bottom: 32px;
}

.hero-title {
    font-size: clamp(36px, 6vw, 64px); font-weight: 700;
    line-height: 1.1; margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 18px; color: var(--text-secondary);
    max-width: 600px; margin: 0 auto 40px; line-height: 1.7;
}

.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 64px; }

.hero-stats {
    display: flex; align-items: center; justify-content: center; gap: 40px;
    padding: 32px; background: rgba(30,41,59,0.5);
    border: 1px solid var(--border-color); border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
}
.hero-stat { text-align: center; }
.hero-stat-number { display: block; font-family: var(--font-heading); font-size: 32px; font-weight: 700; color: var(--text-primary); }
.hero-stat-label { font-size: 13px; color: var(--text-secondary); }
.hero-stat-divider { width: 1px; height: 40px; background: var(--border-color); }

/* --- Features --- */
.features { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-title { font-size: 36px; margin-bottom: 16px; }
.section-subtitle { font-size: 16px; color: var(--text-secondary); max-width: 500px; margin: 0 auto; }

.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.feature-card {
    background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: var(--radius-lg); padding: 32px;
    transition: all var(--transition-slow);
}
.feature-card:hover { border-color: var(--border-hover); transform: translateY(-4px); box-shadow: var(--shadow-glow); }

.feature-icon {
    width: 56px; height: 56px; border-radius: var(--radius-md);
    background: rgba(99,102,241,0.1);
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; color: var(--accent, var(--accent-indigo));
    margin-bottom: 20px;
}

.feature-card h3 { font-size: 18px; margin-bottom: 12px; }
.feature-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* --- CTA --- */
.cta-section { padding: 80px 0; }
.cta-card {
    text-align: center; padding: 64px;
    background: var(--gradient-subtle);
    border: 1px solid rgba(99,102,241,0.2);
    border-radius: var(--radius-xl);
}
.cta-card h2 { font-size: 32px; margin-bottom: 16px; }
.cta-card p { color: var(--text-secondary); margin-bottom: 32px; font-size: 16px; }

/* --- Footer --- */
.footer { padding: 48px 0 24px; border-top: 1px solid var(--border-color); }
.footer-content { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 32px; }
.footer-brand p { color: var(--text-muted); font-size: 14px; margin-top: 12px; max-width: 300px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--text-secondary); font-size: 14px; }
.footer-links a:hover { color: var(--text-primary); }
.footer-bottom { padding-top: 24px; border-top: 1px solid var(--border-color); }
.footer-bottom p { color: var(--text-muted); font-size: 13px; }

/* --- Funding Explorer --- */
.funding-layout { display: grid; grid-template-columns: 280px 1fr 260px; gap: 32px; }

.filter-sidebar {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px; height: fit-content;
    position: sticky; top: 96px;
}

.filter-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.filter-header h3 { font-size: 16px; display: flex; align-items: center; gap: 8px; }
.filter-header h3 i { color: var(--accent-indigo); }

.filter-group { margin-bottom: 20px; }
.filter-group label { display: block; font-size: 13px; font-weight: 500; color: var(--text-secondary); margin-bottom: 6px; }
.filter-group select, .filter-group input { font-size: 13px; padding: 10px 12px; }
.filter-group .input-icon input { padding-left: 36px; }
.filter-group .input-icon i { font-size: 13px; }

.filter-range { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; }
.range-separator { color: var(--text-muted); }

.filter-mobile-close { display: none; margin-top: 16px; }
.filter-mobile-toggle { display: none; }

.funding-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.funding-count { font-size: 14px; color: var(--text-secondary); }

.funding-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* --- Funding Card --- */
.funding-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px; cursor: pointer;
    transition: all var(--transition);
    display: flex; flex-direction: column;
}
.funding-card:hover { border-color: var(--border-hover); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.funding-card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; }
.funding-card-name { font-family: var(--font-heading); font-size: 16px; font-weight: 600; line-height: 1.3; flex: 1; margin-right: 8px; }
.funding-card-org { font-size: 13px; color: var(--text-secondary); margin-bottom: 16px; display: flex; align-items: center; gap: 6px; }
.funding-card-org i { color: var(--accent-indigo); }

.funding-card-details { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; flex: 1; }
.funding-card-detail { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-secondary); }
.funding-card-detail i { width: 16px; text-align: center; color: var(--text-muted); }

.funding-card-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; border-top: 1px solid var(--border-color); }

/* --- Badges --- */
.badge {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 4px 10px; border-radius: 50px;
    font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px;
}
.badge-category { background: rgba(99,102,241,0.15); color: var(--accent-indigo); }
.badge-country { background: rgba(20,184,166,0.15); color: var(--accent-teal); }

.badge-success-high { background: rgba(16,185,129,0.15); color: var(--success); }
.badge-success-mid { background: rgba(245,158,11,0.15); color: var(--warning); }
.badge-success-low { background: rgba(239,68,68,0.15); color: var(--error); }

.badge-status-draft { background: rgba(245,158,11,0.15); color: var(--warning); }
.badge-status-submitted { background: rgba(59,130,246,0.15); color: var(--info); }
.badge-status-approved { background: rgba(16,185,129,0.15); color: var(--success); }
.badge-status-rejected { background: rgba(239,68,68,0.15); color: var(--error); }

/* --- Funding Detail --- */
.back-btn { margin: 24px 0; }

.detail-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 32px; }

.detail-main {
    background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: var(--radius-lg); padding: 32px;
}
.detail-main h1 { font-size: 28px; margin-bottom: 8px; }
.detail-org { font-size: 15px; color: var(--text-secondary); margin-bottom: 24px; display: flex; align-items: center; gap: 8px; }
.detail-org i { color: var(--accent-indigo); }

.detail-section { margin-bottom: 28px; }
.detail-section h3 { font-size: 16px; color: var(--text-secondary); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.detail-section h3 i { color: var(--accent-purple); }
.detail-section p { color: var(--text-primary); line-height: 1.8; }
.detail-tags { display: flex; flex-wrap: wrap; gap: 8px; }

.detail-sidebar {
    display: flex; flex-direction: column; gap: 20px;
}

.detail-info-card {
    background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: var(--radius-lg); padding: 24px;
}
.detail-info-card h3 { font-size: 15px; margin-bottom: 16px; }

.detail-info-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border-color); }
.detail-info-row:last-child { border-bottom: none; }
.detail-info-label { font-size: 13px; color: var(--text-secondary); }
.detail-info-value { font-size: 14px; font-weight: 500; text-align: right; }

.detail-amount { font-size: 24px; font-weight: 700; color: var(--accent-indigo); }

/* --- AI Writer / Wizard --- */
.wizard {
    max-width: 800px; margin: 0 auto; padding-bottom: 60px;
}

.wizard-progress {
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 48px; padding: 24px;
    background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
}

.wizard-step {
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    position: relative; z-index: 1;
}
.wizard-step-circle {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--bg-primary); border: 2px solid var(--border-color);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-heading); font-size: 14px; font-weight: 600;
    color: var(--text-muted); transition: all var(--transition);
}
.wizard-step span { font-size: 12px; color: var(--text-muted); transition: color var(--transition); }

.wizard-step.active .wizard-step-circle {
    background: var(--gradient-main); border-color: transparent; color: white;
    box-shadow: 0 0 20px rgba(99,102,241,0.3);
}
.wizard-step.active span { color: var(--text-primary); }

.wizard-step.completed .wizard-step-circle {
    background: var(--success); border-color: transparent; color: white;
}
.wizard-step.completed span { color: var(--text-secondary); }

.wizard-step-line {
    flex: 1; height: 2px; background: var(--border-color);
    margin: 0 8px; margin-bottom: 24px;
}

.wizard-panel {
    background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: var(--radius-lg); padding: 40px;
    animation: fadeIn 0.3s ease;
}
.wizard-panel h2 { font-size: 24px; margin-bottom: 8px; }
.wizard-hint { color: var(--text-secondary); margin-bottom: 32px; font-size: 15px; }

.wizard-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border-color); }

.ai-generate-box {
    text-align: center; padding: 48px 32px;
    border: 2px dashed var(--border-color); border-radius: var(--radius-lg);
    margin-bottom: 24px;
}
.ai-hint { color: var(--text-muted); font-size: 13px; margin-top: 12px; }

/* Budget Table */
.budget-table-wrapper { overflow-x: auto; margin-bottom: 16px; }
.budget-table { width: 100%; border-collapse: collapse; }
.budget-table th {
    text-align: left; padding: 12px; font-size: 13px; font-weight: 500;
    color: var(--text-secondary); border-bottom: 1px solid var(--border-color);
}
.budget-table td { padding: 10px 12px; border-bottom: 1px solid var(--border-color); }
.budget-table input {
    background: var(--bg-primary); border: 1px solid var(--border-color);
    border-radius: var(--radius-sm); padding: 8px 12px; color: var(--text-primary);
    font-size: 14px; width: 100%;
}
.budget-table input:focus { border-color: var(--accent-indigo); outline: none; }
.budget-table tfoot td { border-bottom: none; padding-top: 16px; }
.budget-remove {
    background: transparent; border: none; color: var(--text-muted);
    cursor: pointer; font-size: 14px; padding: 4px;
    transition: color var(--transition);
}
.budget-remove:hover { color: var(--error); }

/* Review Section */
.review-section { display: flex; flex-direction: column; gap: 24px; }

.review-block {
    background: var(--bg-primary); border: 1px solid var(--border-color);
    border-radius: var(--radius-md); padding: 24px;
}
.review-block h3 { font-size: 14px; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.review-block p, .review-block div { font-size: 15px; line-height: 1.7; }
.review-block .review-value { font-size: 16px; font-weight: 500; }

/* --- Dashboard --- */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 40px; }

.stat-card {
    background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: var(--radius-lg); padding: 24px;
    display: flex; align-items: center; gap: 16px;
    transition: all var(--transition);
}
.stat-card:hover { border-color: var(--border-hover); }

.stat-icon {
    width: 52px; height: 52px; border-radius: var(--radius-md);
    background: rgba(99,102,241,0.1);
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; color: var(--accent, var(--accent-indigo));
    flex-shrink: 0;
}

.stat-number { display: block; font-family: var(--font-heading); font-size: 28px; font-weight: 700; }
.stat-label { font-size: 13px; color: var(--text-secondary); }

.dashboard-section { margin-bottom: 40px; }
.section-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.section-bar h2 { font-size: 20px; }

.applications-list { display: flex; flex-direction: column; gap: 12px; }

.application-item {
    background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: var(--radius-lg); padding: 20px 24px;
    display: flex; align-items: center; justify-content: space-between;
    transition: all var(--transition);
}
.application-item:hover { border-color: var(--border-hover); }

.app-item-info { flex: 1; }
.app-item-title { font-family: var(--font-heading); font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.app-item-meta { display: flex; gap: 16px; font-size: 13px; color: var(--text-secondary); }
.app-item-meta span { display: flex; align-items: center; gap: 4px; }

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

/* --- Chat Widget --- */
.chat-widget { position: fixed; bottom: 24px; right: 24px; z-index: 400; }

.chat-toggle {
    width: 56px; height: 56px; border-radius: 50%;
    background: var(--gradient-main); border: none;
    color: white; font-size: 22px; cursor: pointer;
    box-shadow: var(--shadow-lg), 0 0 30px rgba(99,102,241,0.3);
    transition: all var(--transition);
    display: flex; align-items: center; justify-content: center;
}
.chat-toggle:hover { transform: scale(1.08); }

.chat-panel {
    position: absolute; bottom: 72px; right: 0;
    width: 380px; height: 520px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex; flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.3s ease;
}

.chat-header {
    padding: 16px 20px;
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-color);
    display: flex; justify-content: space-between; align-items: center;
}
.chat-header-info { display: flex; align-items: center; gap: 12px; }
.chat-header-info strong { font-size: 14px; display: block; }
.chat-status { font-size: 12px; color: var(--success); }
.chat-avatar {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--gradient-main);
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 16px;
}
.chat-close {
    background: transparent; border: none; color: var(--text-muted);
    font-size: 16px; cursor: pointer; padding: 4px;
}
.chat-close:hover { color: var(--text-primary); }

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

.chat-message { display: flex; gap: 10px; align-items: flex-start; }
.chat-message.user { flex-direction: row-reverse; }

.chat-message-avatar {
    width: 32px; height: 32px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; flex-shrink: 0;
}
.chat-message.bot .chat-message-avatar { background: var(--gradient-main); color: white; }
.chat-message.user .chat-message-avatar { background: var(--accent-teal); color: white; }

.chat-message-content {
    max-width: 80%; padding: 12px 16px;
    border-radius: var(--radius-md);
    font-size: 14px; line-height: 1.6;
}
.chat-message.bot .chat-message-content { background: var(--bg-primary); border: 1px solid var(--border-color); }
.chat-message.user .chat-message-content { background: var(--accent-indigo); color: white; }

.chat-typing {
    display: flex; gap: 4px; padding: 8px 0;
}
.chat-typing span {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--text-muted);
    animation: typing 1.2s infinite;
}
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }

.chat-input-area {
    padding: 16px; border-top: 1px solid var(--border-color);
    display: flex; gap: 8px;
}
.chat-input-area input {
    flex: 1; padding: 10px 14px;
    background: var(--bg-primary); border: 1px solid var(--border-color);
    border-radius: var(--radius-md); color: var(--text-primary);
    font-size: 14px;
}
.chat-input-area input:focus { outline: none; border-color: var(--accent-indigo); }
.chat-send {
    width: 40px; height: 40px; border-radius: var(--radius-md);
    background: var(--gradient-main); border: none;
    color: white; font-size: 14px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all var(--transition);
}
.chat-send:hover { transform: scale(1.05); }

/* --- Loading / Empty States --- */
.loading-state, .empty-state {
    text-align: center; padding: 60px 24px;
}
.loading-state p, .empty-state p { color: var(--text-secondary); margin-top: 12px; }
.empty-state i { font-size: 48px; color: var(--text-muted); margin-bottom: 16px; }
.empty-state h3 { margin-bottom: 8px; }
.empty-state .btn { margin-top: 20px; }

.spinner {
    width: 40px; height: 40px; border: 3px solid var(--border-color);
    border-top-color: var(--accent-indigo);
    border-radius: 50%; margin: 0 auto 16px;
    animation: spin 0.8s linear infinite;
}

/* --- Toast Notifications --- */
#toast-container {
    position: fixed; top: 80px; right: 24px; z-index: 600;
    display: flex; flex-direction: column; gap: 8px;
}

.toast {
    padding: 14px 20px; border-radius: var(--radius-md);
    background: var(--bg-secondary); border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    display: flex; align-items: center; gap: 10px;
    font-size: 14px; min-width: 280px; max-width: 400px;
    animation: slideIn 0.3s ease;
    transition: all 0.3s ease;
}
.toast.toast-success { border-left: 3px solid var(--success); }
.toast.toast-error { border-left: 3px solid var(--error); }
.toast.toast-info { border-left: 3px solid var(--info); }
.toast i { font-size: 16px; }
.toast.toast-success i { color: var(--success); }
.toast.toast-error i { color: var(--error); }
.toast.toast-info i { color: var(--info); }
.toast.fade-out { opacity: 0; transform: translateX(100%); }

/* --- Animations --- */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideIn { from { opacity: 0; transform: translateX(100%); } to { opacity: 1; transform: translateX(0); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes typing {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-6px); opacity: 1; }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .funding-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .detail-layout { grid-template-columns: 1fr; }
    .hero-stats { gap: 24px; }

    .funding-layout { grid-template-columns: 1fr; }
    .deadline-widget { display: none; }
    .filter-sidebar {
        position: fixed; top: 0; left: 0; right: 0; bottom: 0;
        z-index: 300; border-radius: 0; overflow-y: auto;
        transform: translateX(-100%); transition: transform 0.3s ease;
    }
    .filter-sidebar.open { transform: translateX(0); }
    .filter-mobile-close { display: block; }
    .filter-mobile-toggle { display: inline-flex; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-mobile-toggle { display: block; }
    .nav-links.open {
        display: flex; flex-direction: column;
        position: absolute; top: 64px; left: 0; right: 0;
        background: var(--bg-primary); border-bottom: 1px solid var(--border-color);
        padding: 16px;
    }

    .features-grid { grid-template-columns: 1fr; }
    .funding-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .form-row { grid-template-columns: 1fr; }

    .hero-title { font-size: 32px; }
    .hero-stats { flex-direction: column; gap: 16px; }
    .hero-stat-divider { width: 40px; height: 1px; }

    .wizard-progress { flex-wrap: wrap; gap: 4px; }
    .wizard-step-line { display: none; }
    .wizard-panel { padding: 24px; }

    .chat-panel { width: calc(100vw - 48px); right: -12px; }

    .cta-card { padding: 40px 24px; }
    .cta-card h2 { font-size: 24px; }

    .application-item { flex-direction: column; align-items: flex-start; gap: 16px; }
    .app-item-actions { width: 100%; justify-content: flex-end; }

    .footer-content { flex-direction: column; gap: 24px; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero { padding: 60px 16px; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .stats-grid { grid-template-columns: 1fr; }
    .wizard-progress { padding: 16px; }
    .wizard-step span { font-size: 10px; }
    .btn-lg { padding: 12px 20px; font-size: 14px; }
    .page-header { padding: 32px 0 24px; }
    .page-header h1 { font-size: 22px; }
}

/* ==========================================
   NEW COMPONENTS - Added in v2
   ========================================== */

/* --- Modal variants --- */
.modal-lg { max-width: 680px; }
.modal-header h2 { font-size: 20px; display: flex; align-items: center; gap: 10px; }
.modal-header h2 i { color: var(--accent-purple); }
.form-hint { color: var(--text-muted); font-size: 11px; font-weight: 400; }
.form-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 8px; }

/* --- Badge variants --- */
.badge-artform {
    background: rgba(99,102,241,0.15);
    color: var(--accent-indigo);
    border: 1px solid rgba(99,102,241,0.2);
    font-size: 11px; padding: 3px 8px; border-radius: 50px;
    display: inline-block;
}
.badge-artform.badge-sm { font-size: 10px; padding: 2px 6px; }
.badge-active { background: rgba(16,185,129,0.15); color: var(--success); border: 1px solid rgba(16,185,129,0.2); padding: 3px 10px; border-radius: 50px; font-size: 12px; }
.badge-inactive { background: rgba(239,68,68,0.15); color: var(--error); border: 1px solid rgba(239,68,68,0.2); padding: 3px 10px; border-radius: 50px; font-size: 12px; }
.badge-admin { background: rgba(168,85,247,0.15); color: var(--accent-purple); border: 1px solid rgba(168,85,247,0.2); padding: 3px 10px; border-radius: 50px; font-size: 12px; }
.badge-user { background: rgba(148,163,184,0.1); color: var(--text-secondary); border: 1px solid var(--border-color); padding: 3px 10px; border-radius: 50px; font-size: 12px; }

/* --- Funding card art forms --- */
.funding-card-artforms {
    display: flex; flex-wrap: wrap; gap: 4px;
    padding: 8px 20px 0;
}

/* --- Artists Directory --- */
.artists-toolbar {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; margin-bottom: 28px; flex-wrap: wrap;
}
.artists-filters {
    display: flex; gap: 12px; flex-wrap: wrap; flex: 1;
}
.artists-search-wrap { flex: 1; min-width: 200px; }
.artists-filters select { max-width: 180px; }
.artists-count { color: var(--text-secondary); font-size: 14px; white-space: nowrap; }

.artists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.artist-card {
    background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: var(--radius-lg); padding: 24px;
    cursor: pointer; transition: all var(--transition);
    display: flex; flex-direction: column; align-items: center;
    text-align: center;
}
.artist-card:hover {
    border-color: var(--accent-purple);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(168,85,247,0.15);
}

.artist-card-avatar {
    width: 72px; height: 72px; border-radius: 50%;
    overflow: hidden; margin-bottom: 14px; position: relative;
    background: var(--gradient-main);
    display: flex; align-items: center; justify-content: center;
}
.artist-card-img {
    width: 100%; height: 100%; object-fit: cover;
}
.artist-card-initials {
    color: white; font-size: 28px; font-weight: 600;
    font-family: var(--font-heading);
    width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
}

.artist-card-name { font-weight: 600; font-size: 16px; margin-bottom: 4px; }
.artist-card-location { font-size: 12px; color: var(--text-secondary); margin-bottom: 8px; }
.artist-card-location i { margin-right: 4px; }
.artist-card-tags { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; margin-bottom: 8px; }
.artist-card-bio { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }

.artists-pagination {
    display: flex; align-items: center; justify-content: center; gap: 16px;
    padding: 24px 0;
}
#artists-page-info { color: var(--text-secondary); font-size: 14px; }

/* --- Artist Profile View --- */
.profile-view-layout {
    display: grid; grid-template-columns: 280px 1fr;
    gap: 40px; padding: 32px 0 64px;
}

.profile-view-sidebar {
    display: flex; flex-direction: column; align-items: center;
    text-align: center; gap: 12px;
    position: sticky; top: 80px; height: fit-content;
}

.profile-view-avatar-wrap {
    width: 120px; height: 120px; border-radius: 50%;
    overflow: hidden;
    background: var(--gradient-main);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 4px;
    border: 3px solid rgba(168,85,247,0.4);
}
.profile-view-avatar-img {
    width: 100%; height: 100%; object-fit: cover;
}
.profile-view-avatar-initials {
    color: white; font-size: 48px; font-weight: 700;
    font-family: var(--font-heading);
}

.profile-view-name { font-size: 24px; font-weight: 700; }
.profile-view-org { color: var(--text-secondary); font-size: 14px; }
.profile-view-location { color: var(--text-secondary); font-size: 13px; }
.profile-view-location i { margin-right: 4px; color: var(--accent-pink); }
.profile-view-website {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 13px; color: var(--accent-indigo);
    padding: 6px 14px; border: 1px solid rgba(99,102,241,0.3);
    border-radius: 50px; transition: all var(--transition);
}
.profile-view-website:hover { background: rgba(99,102,241,0.1); }
.profile-view-artforms { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.profile-view-joined { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

.profile-view-main { display: flex; flex-direction: column; gap: 32px; }

.profile-view-section h2 {
    font-size: 18px; display: flex; align-items: center; gap: 10px;
    margin-bottom: 14px; padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}
.profile-view-section h2 i { color: var(--accent-purple); }
.profile-view-section p { color: var(--text-secondary); line-height: 1.7; }

.portfolio-videos-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
}
.portfolio-video-wrap {
    border-radius: var(--radius-md); overflow: hidden;
    background: var(--bg-card); border: 1px solid var(--border-color);
}
.portfolio-iframe { width: 100%; aspect-ratio: 16/9; display: block; }

.portfolio-images-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}
.portfolio-image {
    width: 100%; aspect-ratio: 1; object-fit: cover;
    border-radius: var(--radius-md); border: 1px solid var(--border-color);
    transition: transform var(--transition);
}
.portfolio-image:hover { transform: scale(1.03); }

@media (max-width: 768px) {
    .profile-view-layout { grid-template-columns: 1fr; }
    .profile-view-sidebar { position: static; }
    .artists-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
    .artists-toolbar { flex-direction: column; align-items: stretch; }
    .artists-filters { flex-direction: column; }
    .artists-filters select { max-width: none; }
}

/* --- Admin Panel --- */
.admin-stats-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 20px; margin-bottom: 32px;
}
.admin-stat-card {
    background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: var(--radius-lg); padding: 24px;
    display: flex; align-items: center; gap: 20px;
}
.admin-stat-icon {
    width: 52px; height: 52px; border-radius: var(--radius-md);
    background: var(--gradient-subtle);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; color: var(--accent-purple); flex-shrink: 0;
}
.admin-stat-number { display: block; font-size: 28px; font-weight: 700; font-family: var(--font-heading); }
.admin-stat-label { font-size: 13px; color: var(--text-secondary); }

.admin-tabs {
    display: flex; gap: 4px; background: var(--bg-secondary);
    border: 1px solid var(--border-color); border-radius: var(--radius-md);
    padding: 4px; margin-bottom: 24px; width: fit-content;
}
.admin-tab {
    padding: 10px 20px; border: none; border-radius: var(--radius-sm);
    background: transparent; color: var(--text-secondary);
    font-size: 14px; font-weight: 500; cursor: pointer;
    transition: all var(--transition); display: flex; align-items: center; gap: 8px;
}
.admin-tab.active { background: var(--bg-card); color: var(--text-primary); }
.admin-tab:hover:not(.active) { color: var(--text-primary); }

.admin-panel { display: none; }
.admin-panel.active { display: block; }

.admin-panel-toolbar {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; margin-bottom: 16px;
}
.admin-panel-toolbar .input-icon { max-width: 320px; flex: 1; }

.admin-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
}
.admin-table {
    width: 100%; border-collapse: collapse;
}
.admin-table th {
    padding: 12px 16px; text-align: left;
    font-size: 12px; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.05em; color: var(--text-muted);
    background: var(--bg-tertiary); border-bottom: 1px solid var(--border-color);
    white-space: nowrap;
}
.admin-table td {
    padding: 12px 16px; font-size: 13px; color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: rgba(255,255,255,0.02); }
.admin-table td:last-child { white-space: nowrap; display: flex; gap: 6px; align-items: center; }

.admin-loading, .admin-empty {
    text-align: center; padding: 32px; color: var(--text-muted); font-size: 14px;
}

.admin-artforms { display: flex; flex-wrap: wrap; gap: 4px; max-width: 200px; }

.categories-admin-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 12px;
}
.admin-category-item {
    background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: var(--radius-md); padding: 14px 16px;
    display: flex; align-items: center; gap: 12px;
}
.admin-cat-icon {
    width: 36px; height: 36px; border-radius: var(--radius-sm);
    background: var(--gradient-subtle);
    display: flex; align-items: center; justify-content: center;
    color: var(--accent-purple); font-size: 15px; flex-shrink: 0;
}
.admin-cat-info { flex: 1; min-width: 0; }
.admin-cat-info strong { display: block; font-size: 14px; }
.admin-cat-info small { color: var(--text-muted); font-size: 11px; }

@media (max-width: 900px) {
    .admin-stats-grid { grid-template-columns: 1fr 1fr; }
    .admin-tabs { width: 100%; }
    .admin-tab { flex: 1; justify-content: center; }
}
@media (max-width: 600px) {
    .admin-stats-grid { grid-template-columns: 1fr; }
    .admin-panel-toolbar { flex-direction: column; align-items: stretch; }
    .admin-panel-toolbar .input-icon { max-width: none; }
}

/* --- Chatbot Widget --- */
.chatbot-widget {
    position: fixed; bottom: 28px; right: 28px;
    z-index: 400;
    display: flex; flex-direction: column; align-items: flex-end;
    gap: 12px;
}

.chatbot-fab {
    width: 60px; height: 60px; border-radius: 50%;
    background: var(--gradient-main);
    border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; color: white;
    box-shadow: 0 4px 20px rgba(99,102,241,0.4);
    transition: all var(--transition);
    position: relative;
}
.chatbot-fab:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(99,102,241,0.6); }
.chatbot-fab.open { background: var(--bg-secondary); color: var(--text-primary); border: 1px solid var(--border-color); }

.chatbot-badge {
    position: absolute; top: -4px; right: -4px;
    width: 20px; height: 20px; border-radius: 50%;
    background: var(--error); color: white;
    font-size: 11px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid var(--bg-primary);
}

.chatbot-window {
    width: 380px; height: 520px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    display: flex; flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.3s ease;
}

.chatbot-header {
    padding: 16px 20px;
    background: linear-gradient(135deg, #1e1b4b, #312e81);
    border-bottom: 1px solid rgba(99,102,241,0.2);
    display: flex; justify-content: space-between; align-items: center;
    flex-shrink: 0;
}
.chatbot-header-info { display: flex; align-items: center; gap: 12px; }
.chatbot-header-info strong { font-size: 14px; color: white; display: block; }

.chatbot-avatar {
    width: 38px; height: 38px; border-radius: 50%;
    background: var(--gradient-main);
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 16px; flex-shrink: 0;
}

.chatbot-status {
    display: flex; align-items: center; gap: 5px;
    font-size: 12px; color: rgba(255,255,255,0.7);
}
.chatbot-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--success);
    animation: pulse 2s ease infinite;
}

.chatbot-close-btn {
    background: transparent; border: none;
    color: rgba(255,255,255,0.6); font-size: 16px;
    cursor: pointer; padding: 4px;
    transition: color var(--transition);
}
.chatbot-close-btn:hover { color: white; }

.chatbot-messages {
    flex: 1; overflow-y: auto; padding: 16px;
    display: flex; flex-direction: column; gap: 12px;
}

.chatbot-msg {
    display: flex; gap: 8px; align-items: flex-end;
    max-width: 90%;
}
.chatbot-msg.user {
    align-self: flex-end; flex-direction: row-reverse;
    max-width: 80%;
}
.chatbot-msg.bot { align-self: flex-start; }

.chatbot-msg-avatar {
    width: 30px; height: 30px; border-radius: 50%;
    background: var(--gradient-main);
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 13px; flex-shrink: 0;
}

.chatbot-msg-bubble {
    padding: 12px 14px;
    border-radius: 18px;
    font-size: 13px; line-height: 1.6;
    max-width: 100%;
}
.chatbot-msg.bot .chatbot-msg-bubble {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-bottom-left-radius: 4px;
    color: var(--text-primary);
}
.chatbot-msg.user .chatbot-msg-bubble {
    background: linear-gradient(135deg, #6366f1, #7c3aed);
    color: white;
    border-bottom-right-radius: 4px;
}
.chatbot-msg-bubble p { margin: 0 0 6px; }
.chatbot-msg-bubble p:last-child { margin-bottom: 0; }
.chatbot-msg-bubble strong { color: var(--accent-indigo); }
.chatbot-msg.user .chatbot-msg-bubble strong { color: #c4b5fd; }

.chatbot-typing-bubble {
    display: flex; align-items: center; gap: 5px;
    padding: 14px 18px;
}
.chatbot-dot-1, .chatbot-dot-2, .chatbot-dot-3 {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--text-muted);
    animation: typing 1.2s infinite;
}
.chatbot-dot-2 { animation-delay: 0.2s; }
.chatbot-dot-3 { animation-delay: 0.4s; }

.chatbot-quick-replies {
    padding: 8px 12px 4px;
    display: flex; flex-wrap: wrap; gap: 6px;
    border-top: 1px solid var(--border-color);
    flex-shrink: 0;
}
.chatbot-quick-btn {
    padding: 7px 12px; border-radius: 50px;
    background: var(--bg-card); border: 1px solid var(--border-color);
    color: var(--text-secondary); font-size: 12px;
    cursor: pointer; transition: all var(--transition);
    display: flex; align-items: center; gap: 5px;
    white-space: nowrap;
}
.chatbot-quick-btn:hover {
    border-color: var(--accent-purple);
    color: var(--accent-purple);
    background: rgba(168,85,247,0.05);
}
.chatbot-quick-btn i { font-size: 11px; }

.chatbot-input-wrap {
    padding: 12px 14px;
    border-top: 1px solid var(--border-color);
    display: flex; gap: 8px; flex-shrink: 0;
}
#chatbot-input {
    flex: 1; padding: 10px 14px;
    background: var(--bg-input); border: 1px solid var(--border-color);
    border-radius: 50px; color: var(--text-primary);
    font-size: 13px; font-family: var(--font-body);
}
#chatbot-input:focus { outline: none; border-color: var(--accent-indigo); }
.chatbot-send-btn {
    width: 38px; height: 38px; border-radius: 50%;
    background: var(--gradient-main); border: none;
    color: white; font-size: 14px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all var(--transition); flex-shrink: 0;
}
.chatbot-send-btn:hover { transform: scale(1.08); }

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

@media (max-width: 480px) {
    .chatbot-window { width: calc(100vw - 32px); height: 80vh; }
    .chatbot-widget { bottom: 16px; right: 16px; }
}

/* --- Nav admin link style --- */
.nav-link-admin { color: var(--accent-purple) !important; }
.nav-link-admin:hover, .nav-link-admin.active { color: var(--accent-purple) !important; background: rgba(168,85,247,0.1) !important; }

/* ==========================================
   Deadline Widget (Funding Explorer right side)
   ========================================== */
.deadline-widget {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 0;
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}
.deadline-widget-header {
    padding: 16px 16px 12px;
    border-bottom: 1px solid var(--border-color);
}
.deadline-widget-header h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}
.deadline-widget-header h3 i { color: var(--accent-pink); }
.deadline-widget-list { padding: 8px; }
.deadline-item {
    padding: 10px 8px;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    border-radius: var(--radius-md);
    transition: background 0.2s;
}
.deadline-item:hover { background: rgba(255,255,255,0.03); }
.deadline-item:last-child { border-bottom: none; }
.deadline-item-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
    line-height: 1.3;
}
.deadline-item-org {
    font-size: 10px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}
.deadline-item-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.deadline-item-date {
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.deadline-item-date.urgent { background: rgba(239,68,68,0.15); color: #ef4444; }
.deadline-item-date.soon { background: rgba(245,158,11,0.15); color: #f59e0b; }
.deadline-item-date.normal { background: rgba(99,102,241,0.15); color: #818cf8; }
.deadline-item-country {
    font-size: 10px;
    color: var(--text-muted);
    background: rgba(255,255,255,0.05);
    padding: 2px 6px;
    border-radius: 4px;
}

/* ==========================================
   Newsletter Section (Landing Page)
   ========================================== */
.newsletter-section {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, rgba(99,102,241,0.05) 50%, var(--bg-primary) 100%);
}
.newsletter-deadline-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}
.newsletter-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
}
.newsletter-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent-indigo), var(--accent-purple));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 20px;
    color: white;
}
.newsletter-card h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}
.newsletter-card p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.5;
}
.newsletter-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.newsletter-form select {
    width: 100%;
    padding: 10px 12px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 14px;
}
.newsletter-disclaimer {
    font-size: 11px;
    color: var(--text-muted);
    text-align: center;
    margin-top: 8px;
}

/* Landing Deadline Card */
/* Calendar Widget */
.calendar-widget {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
}
.calendar-widget-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}
.calendar-widget-header i { color: var(--accent-pink); font-size: 20px; }
.calendar-widget-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

/* Mini Calendar */
.mini-calendar {
    margin-bottom: 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 12px;
    background: var(--bg-tertiary);
}
.mini-calendar-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}
.cal-month-label {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}
.cal-nav-btn {
    background: none;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}
.cal-nav-btn:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
}
.mini-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    margin-bottom: 4px;
}
.cal-weekday {
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    padding: 4px 0;
    text-transform: uppercase;
}
.mini-calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}
.cal-day {
    text-align: center;
    font-size: 12px;
    padding: 5px 2px;
    border-radius: 4px;
    color: var(--text-secondary);
    cursor: default;
    position: relative;
}
.cal-day.other-month { color: var(--text-muted); opacity: 0.4; }
.cal-day.today {
    background: var(--bg-card-hover);
    color: var(--text-primary);
    font-weight: 700;
}
.cal-day.has-deadline {
    background: rgba(236, 72, 153, 0.15);
    color: var(--accent-pink);
    font-weight: 600;
    cursor: pointer;
    position: relative;
}
.cal-day.has-deadline::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent-pink);
}
.cal-day.has-deadline:hover {
    background: rgba(236, 72, 153, 0.3);
}
.cal-day.selected {
    background: var(--accent-pink) !important;
    color: #fff !important;
}
.calendar-deadline-list {
    max-height: 220px;
    overflow-y: auto;
}
.cal-filter-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.cal-filter-label .clear-filter {
    color: var(--accent-pink);
    cursor: pointer;
    font-size: 11px;
    text-decoration: underline;
}

/* Footer Newsletter */
.footer-newsletter { margin-bottom: 16px; }
.footer-newsletter h4 { font-size: 14px; color: var(--text-primary); margin-bottom: 8px; }
.footer-nl-form .footer-nl-row { display: flex; gap: 8px; }
.footer-nl-form input {
    flex: 1;
    padding: 10px 12px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 14px;
    min-width: 0;
}
.footer-nl-form .btn {
    padding: 10px 18px;
    font-size: 14px;
    white-space: nowrap;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    position: relative;
    z-index: 10;
}
@media (max-width: 480px) {
    .footer-nl-form .footer-nl-row { flex-direction: column; }
    .footer-nl-form .btn { width: 100%; padding: 14px 18px; font-size: 15px; }
}
.site-footer { padding-bottom: 80px; position: relative; z-index: 1; }

/* ==========================================
   Admin Newsletter Panel
   ========================================== */
.admin-nl-grid { display: grid; gap: 24px; }
.admin-nl-section {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px;
}
.admin-nl-section h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.admin-nl-section h3 i { color: var(--accent-indigo); }
.admin-nl-subscriber-count {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 8px;
}
.admin-nl-items-list { display: grid; gap: 8px; }
.admin-nl-item {
    display: flex;
    justify-content: space-between;
    align-items: start;
    padding: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
}
.admin-nl-item-info h4 { font-size: 14px; color: var(--text-primary); margin-bottom: 2px; }
.admin-nl-item-info p { font-size: 12px; color: var(--text-secondary); }
.admin-nl-item-meta { font-size: 11px; color: var(--text-muted); margin-top: 4px; }
.admin-nl-logs { display: grid; gap: 8px; }
.admin-nl-log {
    padding: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
}
.admin-nl-log h4 { font-size: 14px; color: var(--text-primary); margin-bottom: 2px; }
.admin-nl-log p { font-size: 12px; color: var(--text-secondary); }

/* Subscription Plan Cards */
.subscription-plans-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; margin-top: 16px; }
.subscription-plan-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 24px; position: relative; transition: var(--transition); }
.subscription-plan-card:hover { border-color: var(--accent-indigo); transform: translateY(-2px); }
.subscription-plan-card.popular { border-color: var(--accent-purple); background: linear-gradient(135deg, rgba(168,85,247,0.08), rgba(99,102,241,0.08)); }
.subscription-plan-card.inactive { opacity: 0.5; }
.plan-badge { position: absolute; top: -10px; right: 16px; background: var(--gradient-main); color: white; font-size: 11px; font-weight: 700; padding: 3px 12px; border-radius: 20px; text-transform: uppercase; letter-spacing: 0.5px; }
.plan-badge.inactive-badge { background: var(--error); }
.subscription-plan-card h3 { font-family: var(--font-heading); font-size: 20px; margin-bottom: 4px; }
.plan-desc { font-size: 13px; color: var(--text-secondary); margin-bottom: 16px; }
.plan-pricing { display: flex; align-items: baseline; gap: 4px; margin-bottom: 4px; }
.plan-price { font-family: var(--font-heading); font-size: 28px; font-weight: 700; color: var(--accent-indigo); }
.plan-period { font-size: 13px; color: var(--text-muted); }
.plan-yearly { font-size: 12px; color: var(--text-muted); margin-bottom: 16px; }
.plan-features { list-style: none; padding: 0; margin: 16px 0; }
.plan-features li { font-size: 13px; color: var(--text-secondary); padding: 4px 0; display: flex; align-items: center; gap: 8px; }
.plan-features li i { color: var(--success); font-size: 11px; }
.plan-limits { display: flex; gap: 16px; font-size: 11px; color: var(--text-muted); padding-top: 12px; border-top: 1px solid var(--border-color); }
.plan-actions { display: flex; gap: 8px; margin-top: 12px; }

/* Featured Funders Section */
.funders-section { padding: 80px 0; }
.funders-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.funder-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 20px; text-align: center; transition: var(--transition); cursor: default; }
.funder-card:hover { border-color: var(--accent-indigo); transform: translateY(-3px); box-shadow: var(--shadow-glow); }
.funder-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--gradient-subtle); display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; font-size: 20px; color: var(--accent-indigo); }
.funder-card h4 { font-family: var(--font-heading); font-size: 15px; margin-bottom: 4px; color: var(--text-primary); }
.funder-card p { font-size: 12px; color: var(--text-muted); }

/* Resource Guides Section */
.guides-section { padding: 80px 0; background: var(--bg-tertiary); }
.guides-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.guide-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 28px; transition: var(--transition); position: relative; }
.guide-card:hover { border-color: var(--accent-purple); transform: translateY(-3px); }
.guide-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--gradient-subtle); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; font-size: 18px; color: var(--accent-purple); }
.guide-card h3 { font-family: var(--font-heading); font-size: 17px; margin-bottom: 8px; }
.guide-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }
.guide-tag { display: inline-block; margin-top: 12px; font-size: 11px; font-weight: 600; color: var(--accent-teal); background: rgba(20,184,166,0.1); padding: 3px 10px; border-radius: 20px; text-transform: uppercase; letter-spacing: 0.5px; }

/* Testimonials Section */
.testimonials-section { padding: 80px 0; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 28px; transition: var(--transition); }
.testimonial-card:hover { border-color: var(--accent-pink); }
.testimonial-stars { color: #f59e0b; font-size: 14px; margin-bottom: 16px; display: flex; gap: 2px; }
.testimonial-text { font-size: 14px; color: var(--text-secondary); line-height: 1.7; font-style: italic; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--gradient-main); display: flex; align-items: center; justify-content: center; color: white; font-size: 16px; }
.testimonial-author strong { display: block; font-size: 14px; color: var(--text-primary); }
.testimonial-author span { font-size: 12px; color: var(--text-muted); }

@media (max-width: 768px) {
    .newsletter-deadline-grid { grid-template-columns: 1fr; }
    .newsletter-form .form-row { grid-template-columns: 1fr; }
    .funding-layout { grid-template-columns: 1fr; }
    .subscription-plans-grid { grid-template-columns: 1fr; }
    .funders-grid { grid-template-columns: repeat(2, 1fr); }
    .guides-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
}

@media (min-width: 769px) and (max-width: 1100px) {
    .funding-layout { grid-template-columns: 280px 1fr; }
    .deadline-widget { display: none; }
}

/* Settings Panel */
.settings-sections { display: flex; flex-direction: column; gap: 24px; }
.settings-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
}
.settings-section h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.settings-section h4 i { color: var(--primary); font-size: 14px; }
.settings-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

/* Language Editor */
.lang-edit-btn {
    padding: 6px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg-card);
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s;
}
.lang-edit-btn:hover { border-color: var(--primary); color: var(--text-primary); }
.lang-edit-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }

.lang-editor-section {
    margin-bottom: 24px;
}
.lang-editor-section h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--border);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.lang-editor-row {
    display: grid;
    grid-template-columns: 200px 1fr 1fr;
    gap: 12px;
    align-items: start;
    margin-bottom: 8px;
    padding: 6px 0;
}
.lang-editor-row:hover { background: rgba(99,102,241,0.04); border-radius: 6px; }
.lang-editor-key {
    font-family: monospace;
    font-size: 12px;
    color: var(--text-muted);
    padding-top: 8px;
    word-break: break-all;
}
.lang-editor-default {
    font-size: 13px;
    color: var(--text-secondary);
    padding: 8px;
    background: var(--bg-surface);
    border-radius: 6px;
    border: 1px solid transparent;
    min-height: 36px;
}
.lang-editor-input {
    width: 100%;
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: 13px;
}
.lang-editor-input:focus { border-color: var(--primary); outline: none; }
.lang-editor-input.modified { border-color: #f59e0b; background: rgba(245,158,11,0.05); }
@media (max-width: 768px) {
    .lang-editor-row { grid-template-columns: 1fr; }
    .lang-editor-default { display: none; }
}

/* Source Cards */
.source-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 8px;
}
.source-card:hover { border-color: var(--primary); }
.source-card-header { display: flex; justify-content: space-between; align-items: center; }
.source-card-header strong { font-size: 14px; }
.source-org { font-size: 12px; color: var(--text-muted); margin-left: 8px; }
.source-country { font-size: 11px; background: rgba(99,102,241,0.1); color: var(--primary); padding: 2px 8px; border-radius: 10px; margin-left: 6px; }
.source-actions { display: flex; gap: 4px; }
.source-url { font-size: 12px; color: var(--text-muted); margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.source-url i { margin-right: 4px; }
.source-meta { font-size: 11px; color: var(--text-muted); margin-top: 4px; }
.source-fetch-status { font-size: 12px; margin-top: 4px; }
.btn-xs { padding: 4px 8px; font-size: 12px; }
.btn-ghost { background: none; border: none; color: var(--text-secondary); cursor: pointer; border-radius: 6px; }
.btn-ghost:hover { background: rgba(99,102,241,0.1); color: var(--primary); }

/* Budget Summary */
.budget-config { background: var(--bg-surface); border: 1px solid var(--border); border-radius: 12px; padding: 20px; margin-bottom: 20px; }
.budget-summary { margin-bottom: 20px; }
.budget-summary-grid { display: flex; flex-direction: column; gap: 8px; }
.budget-summary-item { position: relative; background: var(--bg-surface); border-radius: 8px; padding: 10px 14px; overflow: hidden; display: flex; justify-content: space-between; align-items: center; }
.budget-summary-bar { position: absolute; left: 0; top: 0; bottom: 0; opacity: 0.12; border-radius: 8px; }
.budget-summary-label { font-weight: 500; font-size: 13px; z-index: 1; }
.budget-summary-value { font-size: 13px; color: var(--text-muted); z-index: 1; }
.budget-table { width: 100%; }
.budget-table input { font-size: 13px; padding: 6px 8px; border: 1px solid var(--border); border-radius: 4px; background: var(--bg-card); color: var(--text-primary); }
.budget-table input:focus { border-color: var(--primary); outline: none; }
.budget-total-row td { border-top: 2px solid var(--primary); padding-top: 12px; }
.budget-remove { background: none; border: none; color: var(--text-muted); cursor: pointer; padding: 4px; }
.budget-remove:hover { color: #ef4444; }

/* Analytics */
.analytics-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.analytics-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 20px; text-align: center; }
.analytics-big-number { font-size: 32px; font-weight: 700; color: var(--primary); }
.analytics-label { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.funder-stat-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; background: var(--bg-surface); border-radius: 8px; margin-bottom: 6px; }
.funder-stat-name { font-weight: 500; font-size: 14px; }
.funder-stat-bar { height: 6px; background: var(--bg-surface); border-radius: 3px; flex: 1; margin: 0 12px; max-width: 200px; overflow: hidden; }
.funder-stat-fill { height: 100%; border-radius: 3px; }
.funder-stat-rate { font-size: 13px; font-weight: 600; min-width: 45px; text-align: right; }
.outcome-badge { display: inline-block; padding: 2px 10px; border-radius: 12px; font-size: 12px; font-weight: 500; }
.outcome-badge.approved { background: rgba(16,185,129,0.1); color: #10b981; }
.outcome-badge.rejected { background: rgba(239,68,68,0.1); color: #ef4444; }
.outcome-badge.submitted { background: rgba(59,130,246,0.1); color: #3b82f6; }
.outcome-badge.draft { background: rgba(245,158,11,0.1); color: #f59e0b; }
.outcome-badge.withdrawn { background: rgba(107,114,128,0.1); color: #6b7280; }
@media (max-width: 768px) { .analytics-grid { grid-template-columns: 1fr; } }

/* Community Sourcing */
.suggestion-card { transition: border-color 0.2s; }
.suggestion-card:hover { border-color: var(--accent) !important; }

/* CREA Part B Section Cards */
.crea-sections-grid { display: flex; flex-direction: column; gap: 12px; }
.crea-section-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: border-color 0.2s;
}
.crea-section-card:hover { border-color: rgba(168,85,247,0.3); }
.crea-section-number {
  width: 40px; height: 40px;
  background: rgba(168,85,247,0.15);
  color: #c084fc;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px;
  flex-shrink: 0;
}
.crea-section-info { flex: 1; }
.crea-section-info h4 { color: #e5e7eb; font-size: 14px; margin-bottom: 2px; }
.crea-section-info p { color: #6b7280; font-size: 12px; margin: 0; }
.crea-section-actions { display: flex; gap: 6px; flex-shrink: 0; }
.crea-section-content { width: 100%; }

/* EU Calendar & Partners Grid */
.eu-calendar-grid, .partners-grid, .sustainability-grid { max-width: 900px; margin: 0 auto; }

/* Filter bar for EU views */
.filter-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.filter-group select, .filter-group input {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  color: #e5e7eb;
  padding: 8px 12px;
  font-size: 13px;
  min-width: 160px;
}
.filter-group select:focus, .filter-group input:focus {
  border-color: #6366f1;
  outline: none;
}

@media (max-width: 768px) {
  .crea-section-card { flex-wrap: wrap; }
  .crea-section-actions { width: 100%; justify-content: flex-end; }
  .filter-bar { flex-direction: column; }
  .filter-group select, .filter-group input { width: 100%; }
}


/* ==========================================
   CREA Application Pages Styles
   ========================================== */

/* Nav Dropdown */
.nav-dropdown {
    position: relative;
    display: inline-flex;
}
.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-card, #1e1e2e);
    border: 1px solid var(--border, #2e2e3e);
    border-radius: 12px;
    padding: 8px 0;
    min-width: 220px;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    animation: dropdownFadeIn 0.2s ease;
}
.nav-dropdown-menu.show { display: block; }
.nav-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    color: var(--text-secondary, #a0a0b0);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.15s ease;
    white-space: nowrap;
}
.nav-dropdown-menu a:hover {
    background: rgba(99,102,241,0.1);
    color: var(--text, #fff);
}
.nav-dropdown-menu a i { width: 16px; text-align: center; font-size: 13px; }

@keyframes dropdownFadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Section Cards */
.crea-section-card {
    background: var(--bg-card, #1e1e2e);
    border: 1px solid var(--border, #2e2e3e);
    border-radius: 16px;
    padding: 32px;
}
.crea-section-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text, #fff);
}
.crea-section-title i { color: var(--accent-purple, #6366f1); }

/* Tables */
.table-responsive { overflow-x: auto; }
.crea-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.crea-table th {
    background: rgba(99,102,241,0.1);
    color: var(--text, #fff);
    font-weight: 600;
    padding: 14px 16px;
    text-align: left;
    border-bottom: 2px solid var(--border, #2e2e3e);
    white-space: nowrap;
}
.crea-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border, #2e2e3e);
    color: var(--text-secondary, #a0a0b0);
}
.crea-table tr:hover td { background: rgba(255,255,255,0.02); }
.crea-table-highlight {
    background: rgba(99,102,241,0.08) !important;
}
.crea-table-highlight td {
    color: var(--text, #fff) !important;
    font-weight: 500;
    border-bottom: 2px solid rgba(99,102,241,0.3);
}

/* Differentiators Grid */
.crea-differentiators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.crea-diff-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border, #2e2e3e);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
}
.crea-diff-card:hover {
    border-color: rgba(99,102,241,0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(99,102,241,0.1);
}
.crea-diff-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(99,102,241,0.2), rgba(139,92,246,0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 20px;
    color: #8b5cf6;
}
.crea-diff-card h3 { font-size: 16px; margin-bottom: 8px; color: var(--text, #fff); }
.crea-diff-card p { font-size: 14px; color: var(--text-secondary, #a0a0b0); line-height: 1.6; }

/* Segments Grid */
.crea-segments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}
.crea-segment {
    text-align: center;
    padding: 24px 16px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border, #2e2e3e);
    border-radius: 12px;
    transition: all 0.3s ease;
}
.crea-segment:hover { border-color: rgba(99,102,241,0.3); transform: translateY(-2px); }
.crea-segment-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(99,102,241,0.15), rgba(139,92,246,0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 22px;
    color: #8b5cf6;
}
.crea-segment h4 { font-size: 15px; margin-bottom: 6px; color: var(--text, #fff); }
.crea-segment p { font-size: 13px; color: var(--text-secondary, #a0a0b0); line-height: 1.5; }

/* Commitments Grid */
.crea-commitments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.crea-commitment-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border, #2e2e3e);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
}
.crea-commitment-card:hover { border-color: rgba(99,102,241,0.3); }
.crea-commitment-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(var(--accent,99),0.15), rgba(var(--accent,99),0.25));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 20px;
    color: var(--accent, #8b5cf6);
}
.crea-commitment-card h3 { font-size: 16px; margin-bottom: 8px; color: var(--text, #fff); }
.crea-commitment-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* Metrics Grid */
.crea-metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.crea-metric-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border, #2e2e3e);
    border-radius: 12px;
    padding: 20px;
}
.crea-metric-card h4 {
    font-size: 15px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text, #fff);
}
.crea-metric-bar-group { display: flex; flex-direction: column; gap: 6px; }
.crea-metric-bar-label {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-secondary, #a0a0b0);
    margin-top: 4px;
}
.crea-metric-bar {
    height: 8px;
    background: rgba(255,255,255,0.05);
    border-radius: 4px;
    overflow: hidden;
}
.crea-metric-bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 1s ease;
}

/* Strategies */
.crea-strategies-grid { display: flex; flex-direction: column; gap: 16px; }
.crea-strategy-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border, #2e2e3e);
    border-radius: 12px;
    transition: all 0.3s ease;
}
.crea-strategy-item:hover { border-color: rgba(99,102,241,0.3); }
.crea-strategy-num {
    font-size: 28px;
    font-weight: 700;
    color: rgba(99,102,241,0.3);
    min-width: 48px;
    font-family: 'Space Grotesk', sans-serif;
}
.crea-strategy-item h4 { font-size: 16px; margin-bottom: 6px; color: var(--text, #fff); }
.crea-strategy-item p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* Roadmap */
.crea-roadmap { display: flex; flex-direction: column; gap: 0; padding: 20px 0; }
.crea-phase { display: flex; gap: 24px; }
.crea-phase-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 24px;
}
.crea-phase-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--border, #2e2e3e);
    border: 3px solid var(--bg, #0f0f1a);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}
.crea-phase-active .crea-phase-dot {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    box-shadow: 0 0 12px rgba(99,102,241,0.4);
}
.crea-phase-line {
    width: 2px;
    flex: 1;
    background: var(--border, #2e2e3e);
    min-height: 20px;
}
.crea-phase-content {
    flex: 1;
    padding-bottom: 40px;
    background: var(--bg-card, #1e1e2e);
    border: 1px solid var(--border, #2e2e3e);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}
.crea-phase-active .crea-phase-content {
    border-color: rgba(99,102,241,0.3);
    box-shadow: 0 4px 20px rgba(99,102,241,0.1);
}
.crea-phase-header { margin-bottom: 16px; }
.crea-phase-header h3 { font-size: 20px; color: var(--text, #fff); margin-top: 8px; }
.crea-phase-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.crea-phase-current { background: rgba(99,102,241,0.2); color: #818cf8; }
.crea-phase-upcoming { background: rgba(245,158,11,0.2); color: #fbbf24; }
.crea-phase-future { background: rgba(107,114,128,0.2); color: #9ca3af; }
.crea-phase-details { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.crea-phase-stat {
    font-size: 14px;
    color: var(--text-secondary, #a0a0b0);
    display: flex;
    align-items: center;
    gap: 8px;
}
.crea-phase-stat i { color: #6366f1; width: 16px; text-align: center; }
.crea-phase-stat strong { color: var(--text, #fff); }
.crea-phase-progress { position: relative; }
.crea-phase-progress-bar {
    height: 6px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    border-radius: 3px;
    transition: width 1s ease;
}
.crea-phase-progress span {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 4px;
    display: inline-block;
}

/* Pricing Grid */
.crea-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    align-items: start;
}
.crea-pricing-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border, #2e2e3e);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}
.crea-pricing-card:hover { border-color: rgba(99,102,241,0.3); transform: translateY(-4px); }
.crea-pricing-featured {
    border-color: rgba(99,102,241,0.4) !important;
    box-shadow: 0 4px 24px rgba(99,102,241,0.15);
}
.crea-pricing-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 0 16px 0 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.crea-pricing-header {
    padding: 28px 24px;
    text-align: center;
    border-bottom: 1px solid var(--border, #2e2e3e);
}
.crea-pricing-header h3 { font-size: 20px; color: var(--text, #fff); margin-bottom: 8px; }
.crea-pricing-price {
    font-size: 42px;
    font-weight: 700;
    color: var(--text, #fff);
    font-family: 'Space Grotesk', sans-serif;
}
.crea-pricing-price span { font-size: 16px; font-weight: 400; color: var(--text-secondary); }
.crea-pricing-features {
    list-style: none;
    padding: 24px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.crea-pricing-features li {
    font-size: 14px;
    color: var(--text-secondary, #a0a0b0);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Revenue Streams */
.crea-streams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}
.crea-stream-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border, #2e2e3e);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
}
.crea-stream-pct {
    font-size: 36px;
    font-weight: 700;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Space Grotesk', sans-serif;
    margin-bottom: 8px;
}
.crea-stream-card h4 { font-size: 16px; color: var(--text, #fff); margin-bottom: 8px; }
.crea-stream-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

/* Bar Chart */
.crea-bar-chart { display: flex; flex-direction: column; gap: 12px; }
.crea-bar-item { display: flex; align-items: center; gap: 12px; }
.crea-bar-label {
    min-width: 48px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary, #a0a0b0);
    font-family: 'Space Grotesk', sans-serif;
}
.crea-bar-track {
    flex: 1;
    height: 32px;
    background: rgba(255,255,255,0.03);
    border-radius: 6px;
    overflow: hidden;
}
.crea-bar-value {
    height: 100%;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 8px;
    min-width: fit-content;
    transition: width 1s ease;
}
.crea-bar-value span {
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
}

/* Co-financing */
.crea-cofinance-grid { display: flex; flex-direction: column; gap: 20px; }
.crea-cofinance-item {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border, #2e2e3e);
    border-radius: 12px;
    padding: 20px;
}
.crea-cofinance-bar {
    height: 6px;
    background: rgba(255,255,255,0.05);
    border-radius: 3px;
    margin-bottom: 12px;
    position: relative;
    overflow: hidden;
}
.crea-cofinance-bar::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: var(--fill, 0);
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    border-radius: 3px;
}
.crea-cofinance-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
}
.crea-cofinance-label strong { color: var(--text, #fff); font-size: 15px; }
.crea-cofinance-label span { color: var(--text-secondary); font-size: 14px; }
.crea-cofinance-item p { font-size: 14px; color: var(--text-secondary); line-height: 1.5; }

/* Sustainability Checklist */
.crea-checklist { display: flex; flex-direction: column; gap: 8px; }
.crea-check-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border, #2e2e3e);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.crea-check-item:hover { border-color: rgba(16,185,129,0.3); background: rgba(16,185,129,0.03); }
.crea-check-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: #10b981;
    flex-shrink: 0;
    cursor: pointer;
}
.crea-check-content { flex: 1; }
.crea-check-content strong { display: block; color: var(--text, #fff); font-size: 14px; margin-bottom: 2px; }
.crea-check-content span { font-size: 13px; color: var(--text-secondary, #a0a0b0); line-height: 1.5; }
.crea-progress-summary {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 20px;
    padding: 16px;
    background: rgba(16,185,129,0.05);
    border: 1px solid rgba(16,185,129,0.15);
    border-radius: 10px;
}
.crea-progress-bar-outer {
    flex: 1;
    height: 8px;
    background: rgba(255,255,255,0.05);
    border-radius: 4px;
    overflow: hidden;
}
.crea-progress-bar-inner {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #34d399);
    border-radius: 4px;
    transition: width 0.4s ease;
}
#sustainability-progress-text {
    font-size: 13px;
    color: var(--text-secondary);
    white-space: nowrap;
}

/* Green Practices */
.crea-green-practices { display: flex; flex-direction: column; gap: 16px; }
.crea-green-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: rgba(16,185,129,0.03);
    border: 1px solid rgba(16,185,129,0.12);
    border-radius: 12px;
}
.crea-green-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(16,185,129,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #10b981;
    flex-shrink: 0;
}
.crea-green-item h4 { font-size: 15px; color: var(--text, #fff); margin-bottom: 6px; }
.crea-green-item p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* Mobile Responsive */
@media (max-width: 768px) {
    .crea-differentiators-grid,
    .crea-commitments-grid,
    .crea-metrics-grid,
    .crea-pricing-grid,
    .crea-streams-grid,
    .crea-segments-grid { grid-template-columns: 1fr; }
    .crea-section-card { padding: 20px; }
    .crea-phase { flex-direction: column; gap: 12px; }
    .crea-phase-marker { flex-direction: row; min-width: auto; }
    .crea-phase-line { width: auto; height: 2px; min-height: auto; flex: 1; }
    .crea-strategy-item { flex-direction: column; gap: 8px; }
    .crea-strategy-num { min-width: auto; }
    .nav-dropdown-menu { left: -40px; }
}

/* Members-only sections - hidden until login */
.members-only-section {
    display: none;
}
.members-only-section.visible {
    display: block;
}

/* Join Teaser Section */
.join-teaser-section {
    padding: 80px 0;
}
.join-teaser-card {
    background: linear-gradient(135deg, rgba(99,102,241,0.1), rgba(168,85,247,0.1));
    border: 1px solid rgba(99,102,241,0.3);
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}
.join-teaser-icon {
    font-size: 48px;
    color: #a855f7;
    margin-bottom: 20px;
}
.join-teaser-card h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.join-teaser-card p {
    color: rgba(255,255,255,0.7);
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.join-teaser-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 30px;
}
.join-teaser-features span {
    background: rgba(99,102,241,0.15);
    border: 1px solid rgba(99,102,241,0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
}
.join-teaser-features span i {
    color: #a855f7;
    margin-right: 6px;
}

/* Hero Founders & Cross-Sectoral Example */
.hero-founders {
    margin-top: 40px;
    text-align: center;
}
.hero-founders-text {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}
.hero-founders-text strong {
    color: #a855f7;
    font-weight: 600;
}
.hero-example {
    margin-top: 30px;
    background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(168,85,247,0.08));
    border: 1px solid rgba(99,102,241,0.2);
    border-radius: 16px;
    padding: 24px 32px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}
.example-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245,158,11,0.15);
    border: 1px solid rgba(245,158,11,0.3);
    color: #f59e0b;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.hero-example p {
    color: rgba(255,255,255,0.75);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}
.hero-example strong {
    color: #6366f1;
    font-weight: 600;
}
