/* ========================================
   Contrative — Global Shared Styles
   ======================================== */

* { box-sizing: border-box; }

body {
    font-family: 'DM Sans', system-ui, sans-serif !important;
    color: #334155;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
.font-serif { font-family: 'Instrument Serif', Georgia, serif !important; }

html { scroll-behavior: smooth; }

/* Logo */
.logo-e { color: #00B4A6; }

/* Button glow */
.btn-glow {
    box-shadow: 0 4px 20px rgba(0, 180, 166, 0.3);
}
.btn-glow:hover {
    box-shadow: 0 6px 28px rgba(0, 180, 166, 0.45);
    transform: translateY(-2px);
}

/* Navbar styles */
.navbar-scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #E2E8F0;
}
.navbar-scrolled .nav-logo { color: #0F1B2D; }
.navbar-scrolled .nav-logo .logo-e { color: #00B4A6; }

/* CTA input */
.cta-input:focus {
    outline: none;
    border-color: #00B4A6;
    box-shadow: 0 0 0 3px rgba(0, 180, 166, 0.15);
}

/* Shared animations */
@keyframes floatA {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}
@keyframes floatB {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}
.animate-float-a { animation: floatA 6s ease-in-out infinite; }
.animate-float-b { animation: floatB 5s ease-in-out infinite 1s; }
.animate-float-c { animation: floatA 7s ease-in-out infinite 2s; }

/* Status badges (shared across pages) */
.status-badge {
    font-size: 9px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
    text-align: center;
}
.status-badge.active { color: #10B981; background: rgba(16, 185, 129, 0.1); }
.status-badge.pending { color: #F59E0B; background: rgba(245, 158, 11, 0.1); }
.status-badge.process { color: #3B82F6; background: rgba(59, 130, 246, 0.1); }

/* Operator dot */
.op-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Solution stat badge (shared) */
.solution-stat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    padding: 6px 12px;
    background: rgba(16, 185, 129, 0.06);
    border: 1px solid rgba(16, 185, 129, 0.12);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #10B981;
    width: fit-content;
}

/* Pain stat badge (shared) */
.pain-stat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    padding: 6px 12px;
    background: rgba(239, 68, 68, 0.06);
    border: 1px solid rgba(239, 68, 68, 0.12);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #EF4444;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .pain-visual * { animation: none !important; }
    .blur-chart { filter: blur(4px); opacity: 0.5; }
}
