/* DrugPanels.com - Comprehensive Stylesheet */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #334155;
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.site-header {
    background: #0d47a1;
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    text-decoration: none;
    flex-shrink: 0;
}

.logo img {
    height: 28px;
    width: auto;
    display: block;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.nav-link {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    transition: background 0.2s;
}

.nav-link:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.nav-cta {
    background: #00c853;
    color: white;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background 0.2s;
    margin-left: 0.5rem;
}

.nav-cta:hover {
    background: #00b248;
}

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
}

.hero h1 {
    line-height: 1.2;
}

/* Sections */
.section { padding: 3rem 0; }
.section-white { background: #ffffff; }
.section-gray { background: #f8fafc; }

/* Breadcrumb */
.breadcrumb a {
    text-decoration: none;
    transition: opacity 0.2s;
}

.breadcrumb a:hover {
    opacity: 0.8;
}

/* CTAs */
.cta-button {
    transition: transform 0.2s, box-shadow 0.2s;
    display: inline-block;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,200,83,0.3);
}

/* Cards */
.category-card, .test-card, .sidebar-card {
    transition: box-shadow 0.2s, transform 0.2s;
}

.category-card:hover, .test-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

/* FAQ */
.faq-item {
    transition: box-shadow 0.2s;
}

.faq-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* Footer links */
.site-footer a {
    transition: color 0.2s;
}

.site-footer a:hover {
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 1.75rem !important; }
    .hero-tagline { font-size: 1rem !important; }
    .header-container { flex-wrap: wrap; }
    .main-nav { width: 100%; justify-content: center; margin-top: 0.5rem; }
    .container { padding: 0 1rem; }
    .section { padding: 2rem 0; }
}

@media (max-width: 640px) {
    .main-nav { gap: 0.25rem; }
    .nav-link { padding: 0.4rem 0.5rem; font-size: 0.8rem; }
    .nav-cta { padding: 0.4rem 0.75rem; font-size: 0.8rem; }
}
