/* Monochrome Fun Enhancements */

/* === MICRO-INTERACTIONS & ANIMATIONS === */

/* Card hover effects */
.sr-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
}

.sr-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15) !important;
}

/* Button enhancements */
.cta_button {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    overflow: hidden !important;
}

.cta_button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.cta_button:hover::before {
    left: 100%;
}

/* Smooth navigation link transitions */
.nav-link, .navbar-nav a {
    transition: all 0.2s ease !important;
    position: relative !important;
}

.nav-link::after, .navbar-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 50%;
    background-color: #1d1d1f;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after, .navbar-nav a:hover::after {
    width: 100%;
}

/* === TYPOGRAPHY ENHANCEMENTS === */

/* Hero number emphasis */
.hero-stat {
    font-weight: 800 !important;
    letter-spacing: -0.03em !important;
    line-height: 0.8 !important;
}

/* Mixed font weights for visual hierarchy */
.section-badge {
    font-weight: 700 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
}

/* Subtitle emphasis */
.hero-subtitle {
    font-weight: 300 !important;
    letter-spacing: 0.01em !important;
}

/* === GEOMETRIC ELEMENTS === */

/* Subtle background dots pattern */
.subtle-dots::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle, #f1f5f9 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.4;
    pointer-events: none;
}

/* Clean section dividers */
.section-divider {
    position: relative;
}

.section-divider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 60px;
    height: 2px;
    background: #e5e7eb;
    transform: translateX(-50%);
}

/* Asymmetric grid helpers */
.grid-2-1 {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: center;
}

.grid-1-2 {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    align-items: center;
}

@media (max-width: 768px) {
    .grid-2-1, .grid-1-2 {
        grid-template-columns: 1fr;
    }
}

/* Staggered cards */
.staggered-card:nth-child(even) {
    transform: translateY(1rem);
}

/* === LAYOUT VARIETY === */

/* Offset content blocks */
.offset-content {
    margin-left: 2rem;
    border-left: 3px solid #e5e7eb;
    padding-left: 2rem;
}

/* Floating elements */
.floating-element {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* === SCROLL ANIMATIONS === */

/* Fade in from bottom */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation delays */
.animate-on-scroll:nth-child(1) { transition-delay: 0s; }
.animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }
.animate-on-scroll:nth-child(5) { transition-delay: 0.4s; }

/* === ENHANCED INTERACTIONS === */

/* Subtle gradient on focus */
.sr-card:focus-within {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%) !important;
}

/* Number counter animation */
.stat-number {
    display: inline-block;
    transition: all 0.3s ease;
}

/* Testimonial quote enhancement */
blockquote {
    position: relative;
}

blockquote::before {
    content: '"';
    font-size: 4rem;
    color: #e5e7eb;
    position: absolute;
    top: -1rem;
    left: -1rem;
    font-family: serif;
    line-height: 1;
}

/* === ACCESSIBILITY ENHANCEMENTS === */

/* Focus states */
.cta_button:focus,
.sr-card:focus {
    outline: 2px solid #1d1d1f;
    outline-offset: 2px;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .animate-on-scroll {
        opacity: 1;
        transform: none;
    }
}

/* === CONTENT PERSONALITY === */

/* Emphasis styling for problem statements */
.problem-text {
    font-style: italic;
    color: #64748b !important;
    position: relative;
    padding-left: 1rem;
}

.problem-text::before {
    content: '—';
    position: absolute;
    left: 0;
    color: #86868b;
    font-weight: 600;
}

/* Solution highlighting */
.solution-highlight {
    background: linear-gradient(135deg, transparent 0%, #f8fafc 50%, transparent 100%);
    padding: 0.2rem 0.5rem;
    border-radius: 2px;
    font-weight: 600;
}

/* === LOADING STATES === */

/* Skeleton loading for dynamic content */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 2px;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* === RESPONSIVE ENHANCEMENTS === */

/* Better mobile spacing */
@media (max-width: 768px) {
    .sr-card:hover {
        transform: translateY(-4px) !important;
    }

    .grid-2-1, .grid-1-2 {
        gap: 1rem;
    }
}

/* === PRINT STYLES === */
@media print {
    .sr-card:hover {
        transform: none !important;
        box-shadow: none !important;
    }

    .animate-on-scroll {
        opacity: 1 !important;
        transform: none !important;
    }
}