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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
}

/* Minimalist transitions */
.transition-all {
    transition: all 0.3s ease;
}

/* Clean card design */
.card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.dark .card {
    background: #1f2937;
    border: 1px solid #374151;
}

.card:hover {
    border-color: #2563eb;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.dark .card:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

/* Minimal button */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

.btn-primary {
    background: #2563eb;
    color: white;
}

.btn-primary:hover {
    background: #1d4ed8;
}

.btn-outline {
    border: 1px solid #d1d5db;
    color: #374151;
}

.dark .btn-outline {
    border-color: #4b5563;
    color: #d1d5db;
}

.btn-outline:hover {
    border-color: #2563eb;
    color: #2563eb;
}

.dark .btn-outline:hover {
    border-color: #3b82f6;
    color: #3b82f6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    color: #111827;
}

.dark h1, .dark h2, .dark h3, .dark h4, .dark h5, .dark h6 {
    color: #f9fafb;
}

/* Minimalist navbar */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.dark .navbar {
    background: rgba(17, 24, 39, 0.95);
    border-bottom: 1px solid #374151;
}

/* Clean section spacing */
.section {
    padding: 5rem 1.5rem;
}

/* Accent color */
.accent {
    color: #2563eb;
}

.dark .accent {
    color: #3b82f6;
}

/* Minimal divider */
.divider {
    height: 1px;
    background: linear-gradient(to right, transparent, #e5e7eb, transparent);
}

.dark .divider {
    background: linear-gradient(to right, transparent, #374151, transparent);
}

/* Number display */
.stat-number {
    font-family: 'Space Mono', monospace;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}

/* Hover effect for links */
a {
    transition: color 0.2s ease;
}

/* Clean focus states */
button:focus,
a:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

/* Icon container */
.icon-box {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    background: #f3f4f6;
    color: #2563eb;
    transition: all 0.2s ease;
}

.dark .icon-box {
    background: #374151;
    color: #3b82f6;
}

.card:hover .icon-box {
    background: #2563eb;
    color: white;
}

.dark .card:hover .icon-box {
    background: #3b82f6;
}

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

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

.dark ::-webkit-scrollbar-track {
    background: #111827;
}

::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

.dark ::-webkit-scrollbar-thumb {
    background: #4b5563;
}

.dark ::-webkit-scrollbar-thumb:hover {
    background: #6b7280;
}

/* Hero background - clean and minimal */
.hero-gradient {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(135deg, rgba(37, 99, 235, 0.03) 0%, transparent 60%),
        radial-gradient(circle at 90% 10%, rgba(37, 99, 235, 0.05) 0%, transparent 50%);
}

.dark .hero-gradient {
    background: 
        linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, transparent 60%),
        radial-gradient(circle at 90% 10%, rgba(59, 130, 246, 0.08) 0%, transparent 50%);
}

/* Responsive */
@media (max-width: 768px) {
    .section {
        padding: 3rem 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}
