/* Neo-Brutalism Styles */

/* Base Styles */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #1e293b;
    color: #f1f5f9;
    line-height: 1.6;
}

/* Brutalist Card */
.brutalist-card {
    border: 3px solid #000;
    box-shadow: 6px 6px 0px 0px rgba(0, 0, 0, 1);
    transition: all 0.2s ease;
}

.brutalist-card:hover {
    box-shadow: 8px 8px 0px 0px rgba(0, 0, 0, 1);
}

/* Brutalist Button */
.brutalist-btn {
    border: 3px solid #000;
    box-shadow: 6px 6px 0px 0px rgba(0, 0, 0, 1);
    transition: all 0.2s ease;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.brutalist-btn:hover {
    transform: translate(2px, 2px);
    box-shadow: 4px 4px 0px 0px rgba(0, 0, 0, 1);
}

.brutalist-btn:active {
    transform: translate(4px, 4px);
    box-shadow: 2px 2px 0px 0px rgba(0, 0, 0, 1);
}

/* Brutalist Border */
.brutalist-border {
    border: 3px solid #000;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #1e293b;
    border-left: 3px solid #000;
}

::-webkit-scrollbar-thumb {
    background: #f59e0b;
    border: 3px solid #000;
}

::-webkit-scrollbar-thumb:hover {
    background: #06b6d4;
}

/* Selection Color */
::selection {
    background: #f59e0b;
    color: #000;
}

/* Animation Keyframes */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes progressFill {
    from {
        width: 0%;
    }
}

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-5deg) scale(0.9);
    }
    to {
        opacity: 1;
        transform: rotate(0) scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Animation Classes */
.animate-slide-up {
    animation: slideInUp 0.6s ease-out forwards;
}

.animate-rotate-in {
    animation: rotateIn 0.5s ease-out forwards;
}

.animate-pulse-slow {
    animation: pulse 2s ease-in-out infinite;
}

/* Progress Bar Animation */
.progress-animate {
    animation: progressFill 1.5s ease-out forwards;
}

/* Hover Effects */
.hover-lift {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 8px 8px 0px 0px rgba(0, 0, 0, 1);
}

/* Text Gradient */
.text-gradient {
    background: linear-gradient(135deg, #f59e0b 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glass Effect */
.glass {
    background: rgba(51, 65, 85, 0.8);
    backdrop-filter: blur(10px);
    border: 3px solid #000;
}

/* Timeline Styles */
.timeline-dot {
    position: relative;
}

.timeline-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid #000;
    background: #f59e0b;
    z-index: -1;
}

/* Responsive Typography */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem !important;
    }
    
    h2 {
        font-size: 2rem !important;
    }
    
    .brutalist-card {
        margin: 0 1rem;
    }
}

/* Print Styles */
@media print {
    .brutalist-card {
        box-shadow: none;
        border: 2px solid #000;
        break-inside: avoid;
    }
    
    nav {
        display: none;
    }
}

/* Focus Styles for Accessibility */
button:focus,
a:focus {
    outline: 3px solid #f59e0b;
    outline-offset: 2px;
}

/* Loading Skeleton */
.skeleton {
    background: linear-gradient(90deg, #334155 25%, #475569 50%, #334155 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Tag Styles */
.tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #f59e0b;
    color: #000;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 2px solid #000;
    box-shadow: 2px 2px 0px 0px rgba(0, 0, 0, 1);
}

/* Card Hover Rotation */
.card-rotate:hover {
    transform: rotate(0.5deg);
}

.card-rotate-left:hover {
    transform: rotate(-0.5deg);
}

/* Badge Styles */
.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    height: 2rem;
    padding: 0 0.5rem;
    background: #06b6d4;
    color: #000;
    font-weight: 700;
    border: 2px solid #000;
    box-shadow: 2px 2px 0px 0px rgba(0, 0, 0, 1);
}

/* Section Divider */
.section-divider {
    height: 4px;
    background: #000;
    margin: 4rem 0;
    position: relative;
}

.section-divider::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 100%;
    background: #f59e0b;
    border-left: 3px solid #000;
    border-right: 3px solid #000;
}

/* Counter Animation */
.counter {
    font-variant-numeric: tabular-nums;
}

/* Tooltip Styles */
.tooltip {
    position: relative;
}

.tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    padding: 0.5rem 1rem;
    background: #000;
    color: #fff;
    font-size: 0.875rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    border: 2px solid #f59e0b;
}

.tooltip:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-4px);
}

/* Custom Checkbox */
.custom-checkbox {
    appearance: none;
    width: 1.5rem;
    height: 1.5rem;
    border: 3px solid #000;
    background: #334155;
    cursor: pointer;
    position: relative;
}

.custom-checkbox:checked {
    background: #f59e0b;
}

.custom-checkbox:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #000;
    font-weight: 700;
    font-size: 1rem;
}
