/**
 * ScreeningPanel.com - Wellness First Theme
 * Light, airy, warm medical aesthetic with organic curves
 */

:root {
    --primary: #1a7ae0;
    --primary-dark: #0a1f44;
    --primary-soft: #e3f2fd;
    --accent: #f59e0b;
    --accent-soft: #fef3c7;
    --text: #0a1f44;
    --text-light: #334155;
    --text-muted: #94a3b8;
    --bg: #f8fafc;
    --bg-white: #ffffff;
    --bg-cream: #f1f5f9;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.03);
    --shadow: 0 4px 20px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.08);
    --radius-sm: 16px;
    --radius: 24px;
    --radius-lg: 32px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
}

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

/* Header - floating pill style */
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.5rem 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 9999px;
    padding: 0.75rem 1rem 0.75rem 1.25rem;
    box-shadow: var(--shadow);
    max-width: 1140px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    text-decoration: none;
}

.logo-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--primary) 0%, #42a5f5 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 800;
}

.logo-text {
    font-size: 1.375rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.5px;
}

.logo-text span { color: var(--primary); }

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

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    transition: all 0.2s;
}

.nav-link:hover { background: var(--bg-cream); color: var(--primary-dark); }

.nav-cta {
    background: var(--primary);
    color: white;
    padding: 0.625rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.2s;
}

.nav-cta:hover { background: var(--primary-dark); transform: translateY(-1px); }

/* Hero - organic gradient blob style */
.hero {
    padding: 10rem 1.5rem 6rem;
    text-align: center;
    background: radial-gradient(ellipse at 50% 0%, var(--primary-soft) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 30%, var(--accent-soft) 0%, transparent 40%),
                var(--bg);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(20,184,166,0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1.05;
    margin-bottom: 1.25rem;
    letter-spacing: -1.5px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-tagline {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.hero-badges span {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 1rem;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 9999px;
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, #42a5f5 100%);
    color: white;
    padding: 1.125rem 2.5rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 1.125rem;
    text-decoration: none;
    transition: all 0.25s;
    box-shadow: 0 8px 30px rgba(13,148,136,0.25);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(13,148,136,0.35);
}

/* Trust Bar */
.trust-bar {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    padding: 2rem 0;
}

.trust-bar-content {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    text-align: center;
}

.trust-bar-content span {
    font-size: 1rem;
    color: var(--text-light);
}

.trust-bar-content strong {
    color: var(--primary-dark);
    font-weight: 800;
}

/* Sections */
.section { padding: 5rem 0; }
.section-white { background: var(--bg-white); }
.section-soft { background: var(--bg-cream); }

.section-header {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 3.5rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 0.875rem;
    letter-spacing: -1px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
}

/* Features - large circular icons */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.25s;
}

.feature-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}

.feature-icon {
    width: 72px;
    height: 72px;
    background: var(--primary-soft);
    color: var(--primary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.625rem;
}

.feature-card p {
    font-size: 1rem;
    color: var(--text-light);
}

/* Category Cards - image placeholder style */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.75rem;
}

.category-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    text-decoration: none;
    transition: all 0.25s;
    display: flex;
    flex-direction: column;
}

.category-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.category-icon {
    width: 56px;
    height: 56px;
    background: var(--accent-soft);
    color: #b45309;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.category-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.category-card p {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.card-arrow {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* State Grid */
.state-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.state-card {
    display: block;
    padding: 1.25rem;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all 0.2s;
}

.state-card:hover {
    border-color: var(--primary);
    background: var(--bg-cream);
}

.state-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.state-card span {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* Service Location Grid */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.service-card {
    display: block;
    padding: 1.25rem;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all 0.2s;
}

.service-card:hover {
    border-color: var(--primary);
}

.service-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.service-card span {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* Content Block */
.content-block {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 3rem;
}

.content-block h2 {
    font-size: 1.625rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.content-block h2:first-child { margin-top: 0; }

.content-block p {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.content-block ul {
    margin: 1rem 0 1.5rem 1.5rem;
    color: var(--text-light);
}

.content-block li {
    margin-bottom: 0.625rem;
    font-size: 1.05rem;
}

.disclaimer {
    background: var(--primary-soft);
    border-left: 4px solid var(--primary);
    padding: 1.25rem 1.5rem;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 0.9375rem;
    color: var(--text-light);
    margin-top: 2rem;
}

/* Sidebar */
.sidebar-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.sidebar-card h4 {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1rem;
}

.sidebar-card ul {
    list-style: none;
}

.sidebar-card li {
    margin-bottom: 0.625rem;
}

.sidebar-card a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9375rem;
    display: flex;
    justify-content: space-between;
}

.sidebar-card a:hover {
    color: var(--primary);
}

/* Footer - warm with top wave */
.site-footer {
    background: var(--bg-cream);
    border-top: 1px solid var(--border);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.footer-col h4 {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1.25rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.625rem;
}

.footer-col a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.2s;
}

.footer-col a:hover { color: var(--primary); }

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

/* 404 Page */
.error-page {
    text-align: center;
    padding: 7rem 1.5rem;
}

.error-page h1 {
    font-size: 6rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1rem;
}

.error-page h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1rem;
}

.error-page p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* Grid 4 utility */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.grid-4 .card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 1.75rem;
    text-decoration: none;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
}

.grid-4 .card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.grid-4 .card h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.375rem;
}

.grid-4 .card p {
    font-size: 0.9375rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    flex-grow: 1;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, #42a5f5 100%);
    color: white;
    padding: 4.5rem 1.5rem;
    text-align: center;
    border-radius: var(--radius) var(--radius) 0 0;
    margin-top: 2rem;
}

.cta-section h2 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 0.875rem;
}

.cta-section p {
    font-size: 1.125rem;
    opacity: 0.95;
    margin-bottom: 1.75rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive */
@media (max-width: 768px) {
    .hero { padding: 8rem 1rem 4rem; }
    .hero h1 { font-size: 2.25rem; }
    .hero-tagline { font-size: 1.0625rem; }
    .header-container { padding: 0.625rem 0.875rem; }
    .main-nav { display: none; }
    .trust-bar-content { gap: 1.5rem; }
    .section-title { font-size: 1.75rem; }
    .content-block { padding: 1.75rem; }
    .cta-section { border-radius: 0; }
}
