body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f9fafb;
    color: #1f2937;
    padding-top: 76px; /* Height of navbar plus some extra space */
}

.sticky-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.infographic-page {
    margin-bottom: 60px;
}

.section-header {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-align: center;
}

.gradient-text {
    background: linear-gradient(135deg, #6366f1 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tooltip {
    position: absolute;
    z-index: 999;
    width: 300px;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    text-align: left;
    border-left: 4px solid;
    top: 120%;
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.tooltip .arrow {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid white;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.purple-tooltip { border-color: #8b5cf6; }
.blue-tooltip { border-color: #3b82f6; }
.green-tooltip { border-color: #10b981; }
.orange-tooltip { border-color: #f59e0b; }
.indigo-tooltip { border-color: #6366f1; }
.pink-tooltip { border-color: #ec4899; }
.yellow-tooltip { border-color: #f59e0b; }
.red-tooltip { border-color: #ef4444; }
.teal-tooltip { border-color: #14b8a6; }

.gradient-bg {
    background: linear-gradient(135deg, #6366f1 0%, #3b82f6 100%);
}

.card {
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    z-index: 1000;
}

.tooltip h4, .tooltip h5, .tooltip p, .tooltip ul {
    margin-left: 0;
    text-align: left;
}

.tooltip h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 0.4rem;
}

.tooltip h5 {
    font-size: 0.85rem;
    margin-top: 0.75rem;
    margin-bottom: 0.25rem;
    color: #4b5563;
}

.tooltip p {
    font-size: 0.85rem;
    line-height: 1.4;
}

.tooltip ul {
    margin-bottom: 0.75rem;
}

.tooltip ul li {
    margin-bottom: 0.25rem;
    font-size: 0.85rem;
}

.card:hover .tooltip {
    visibility: visible;
    opacity: 1;
    display: block;
}

.flow-arrow {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e5e7eb;
    color: #4b5563;
    border-radius: 50%;
    transform: rotate(90deg);
}

.horizontal-arrow {
    transform: rotate(0deg);
}

.system-container {
    border: 2px dashed #d1d5db;
    background-color: rgba(243, 244, 246, 0.7);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.system-container:hover {
    border-color: #3b82f6;
    background-color: rgba(219, 234, 254, 0.3);
}

.category-label {
    font-weight: 600;
    color: #4b5563;
    margin-bottom: 8px;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.section-header {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e5e7eb;
}

.node {
    transition: all 0.3s ease;
}

.node:hover {
    transform: scale(1.05);
}

.feedback-loop {
    position: relative;
    width: 100%;
    height: 80px;
}

.feedback-arrow {
    position: absolute;
    top: 30px;
    width: 100%;
    height: 4px;
    background-color: #9ca3af;
}

.feedback-label {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: #f9fafb;
    padding: 0 10px;
    font-size: 0.9rem;
    color: #4b5563;
}

.arrow-head {
    position: absolute;
    right: 0;
    top: -8px;
    width: 0; 
    height: 0; 
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 14px solid #9ca3af;
}

/* Fixed header for all pages */
.page-header {
    background-color: white;
    padding: 1rem 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    margin-bottom: 2rem;
} 