/* Professional Crisp Design Enhancements */

/* Sharper text rendering */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Crisp borders and shadows */
.card, .mayo-card, .admin-section, .research-card {
    border: 1px solid var(--border-color);
}

/* Professional hover states */
.card:hover, .mayo-card:hover {
    border-color: var(--primary-soft);
    transform: translateY(-3px);
}

/* Sharper button styling */
.btn, .btn-primary, .btn-secondary, .btn-mayo, .btn-admin {
    font-weight: 600;
    letter-spacing: 0.025em;
    text-transform: none;
}

/* Professional spacing */
.container {
    padding-left: 2rem;
    padding-right: 2rem;
}

/* Crisp navigation */
.main-nav {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Professional section headers */
h1, h2, h3, h4, h5, h6 {
    letter-spacing: -0.02em;
    font-weight: 600;
}

h2 {
    font-weight: 700;
}

/* Crisp images */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Professional link styling */
a {
    transition: all 0.2s ease;
}

/* Sharper focus states */
*:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Professional footer */
footer {
    border-top: 1px solid var(--border-color);
}

/* Crisp table styling */
table {
    border-collapse: separate;
    border-spacing: 0;
}

/* Professional form inputs */
input, textarea, select {
    border: 1px solid var(--border-color);
}

input:focus, textarea:focus, select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-soft);
}

/* Smooth animations */
* {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Crisp card grid spacing */
.card-grid, .mayo-card-grid {
    gap: 2rem;
}

/* Professional badge styling */
.badge, .section-tag, .hero-badge {
    font-weight: 600;
    letter-spacing: 0.05em;
}

/* Crisp icon rendering */
svg {
    shape-rendering: geometricPrecision;
}

/* Professional scrollbar */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-alt);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-soft);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}

/* Enhanced readability */
p {
    max-width: 70ch;
    line-height: 1.7;
}

/* Professional section spacing */
section {
    padding: 4rem 0;
}

@media (max-width: 768px) {
    section {
        padding: 3rem 0;
    }
    
    .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

/* Crisp research cards */
.research-card {
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.research-card:hover {
    box-shadow: 0 8px 24px var(--primary-soft);
}

/* Professional trust indicators */
.trust-item {
    transition: transform 0.3s ease;
}

.trust-item:hover {
    transform: translateY(-5px);
}
