/* Base Styles - Softer, More Approachable */
body {
    background-color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
}

html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar - Softer Colors */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f8fafc;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* No Scrollbar Utility */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Custom Animations */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out;
}

.animate-slide-up {
    animation: slideUp 0.5s ease-out;
}

/* Navbar - Clean and Simple */
.navbar-scrolled {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Pain Point Cards - Warm, Empathetic Style */
.pain-card {
    transition: all 0.3s ease;
    border-radius: 12px;
}

.pain-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.pain-icon-wrapper {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #2563eb;
}

/* Quote Cards - Personal Touch */
.quote-card {
    position: relative;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-left: 4px solid #3b82f6;
    border-radius: 0 12px 12px 0;
    transition: all 0.3s ease;
}

.quote-card:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.quote-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 10px;
    font-size: 48px;
    font-family: Georgia, serif;
    color: #3b82f6;
    opacity: 0.2;
}

/* Module Cards - Helpful and Clear */
.module-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.module-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6 0%, #60a5fa 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.module-card:hover::before {
    transform: scaleX(1);
}

.module-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    border-color: #3b82f6;
}

.module-number {
    font-size: 3rem;
    font-weight: bold;
    color: #e2e8f0;
    position: absolute;
    top: 1rem;
    right: 1rem;
    line-height: 1;
    transition: color 0.3s ease;
}

.module-card:hover .module-number {
    color: #dbeafe;
}

.module-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border-radius: 10px;
    color: #2563eb;
    margin-bottom: 1rem;
}

/* CTA Buttons - Warm and Inviting */
.cta-button {
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.cta-button:hover {
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
    transform: translateY(-2px);
}

/* Before/After Section */
.before-after-item {
    transition: all 0.2s ease;
}

.before-after-item:hover {
    transform: translateX(4px);
}

/* Diagnostic Switcher - Softer Style */
#diagnostic-trigger {
    backdrop-filter: blur(10px);
}

#diagnostic-dropdown {
    backdrop-filter: blur(10px);
}

.diagnostic-option {
    border-radius: 6px;
    transition: all 0.2s ease;
}

.diagnostic-option:hover {
    background-color: #f1f5f9;
}

.diagnostic-option.active {
    background-color: #dbeafe;
    color: #1e40af;
    font-weight: 500;
}

/* Typography - Readable and Warm */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: #0f172a;
}

p {
    color: #475569;
}

/* Selection */
::selection {
    background-color: #bfdbfe;
    color: #1e40af;
}

::-moz-selection {
    background-color: #bfdbfe;
    color: #1e40af;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .pain-card {
        margin-bottom: 2rem;
    }
    
    .module-number {
        font-size: 2rem;
    }
}

/* Loading state */
.content-loading {
    opacity: 0;
    transition: opacity 0.3s ease-in;
}

.content-loaded {
    opacity: 1;
}

/* Smooth transitions for dynamic content */
.fade-transition {
    transition: opacity 0.3s ease-in-out;
}

/* Empathy highlights */
.empathy-highlight {
    background: linear-gradient(120deg, #dbeafe 0%, transparent 100%);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

/* Trust indicators */
.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 8px;
    color: #0c4a6e;
    font-size: 0.875rem;
    font-weight: 500;
}
