@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Outfit:wght@500;600;700&display=swap');

:root {
    --primary-color: #059669; /* Emerald 600 */
    --primary-hover: #047857; /* Emerald 700 */
    --secondary-color: #475569; /* Slate 600 */
    --accent-color: #F59E0B; /* Amber 500 */
    --background-color: #F8FAFC; /* Slate 50 */
    --text-color: #1E293B; /* Slate 800 */
    --border-color: #E2E8F0; /* Slate 200 */
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

.navbar {
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
}

.navbar-brand {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--primary-color) !important;
    font-size: 1.5rem;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    border-radius: 0.5rem;
}

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

.hero-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
    border-bottom: 1px solid var(--border-color);
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

.card {
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-4px);
}

.search-container {
    background: white;
    padding: 0.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
}

.search-input {
    border: none;
    padding: 0.75rem 1rem;
    width: 100%;
    font-size: 1.1rem;
}

.search-input:focus {
    outline: none;
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    background-color: #ecfdf5;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
}

/* Custom Soft Utilities */
.bg-soft-primary {
    background-color: rgba(5, 150, 105, 0.1);
}
.alert-soft-primary {
    background-color: rgba(5, 150, 105, 0.05);
}
.btn-soft-primary {
    background-color: rgba(5, 150, 105, 0.1);
    color: #059669;
    border: none;
}
.btn-soft-primary:hover {
    background-color: rgba(5, 150, 105, 0.2);
    color: #059669;
}

/* Outcome Buttons */
.outcome-btn.active {
    background-color: #059669;
    color: white;
    border-color: #059669;
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.2);
}
.transition-all {
    transition: all 0.2s ease-in-out;
}
.outcome-btn:hover:not(.active) {
    background-color: rgba(5, 150, 105, 0.05);
}

/* Hide Flatlogic badge globally to avoid UI interference */
a[href*="flatlogic.com"], 
a[href*="flatlogic.com"] img, 
.flatlogic-badge, 
#flatlogic-badge {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    z-index: -9999 !important;
}