/* Homepage Specific Styles for CDC Clinic */

.hp-section { padding: 4rem 1rem; }
.hp-container { max-width: 1200px; margin: 0 auto; }

/* 1. Hero Section */
.hp-hero {
    background: linear-gradient(135deg, #f0f4f8 0%, #d9e2ec 100%);
    padding: 6rem 1rem 4rem;
    position: relative;
    overflow: hidden;
}
.hp-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.hp-hero-text h1 {
    font-size: 3rem;
    line-height: 1.1;
    color: var(--primary-color);
    margin-bottom: 1rem;
}
.hp-hero-text h1 span { color: #DC2626; }
.hp-hero-text p.subtitle {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
}
.hp-trust-badges {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}
.hp-trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.hp-trust-badge i { font-size: 1.5rem; color: var(--primary-color); }
.hp-trust-badge div strong { display: block; font-size: 1.25rem; }
.hp-trust-badge div span { font-size: 0.85rem; color: var(--text-light); }
.hp-hero-image img { width: 100%; max-width: 500px; display: block; margin: 0 auto; border-radius: 12px; box-shadow: var(--shadow-lg); }

/* 2. Book by Condition Strip */
.hp-condition-strip {
    background: white;
    padding: 2rem 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.hp-condition-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1rem;
    text-align: center;
}
.hp-condition-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: transform 0.2s;
}
.hp-condition-item:hover { transform: translateY(-5px); color: var(--primary-color); }
.hp-condition-icon { font-size: 2rem; color: var(--primary-color); }
.hp-condition-item span { font-size: 0.85rem; font-weight: 500; }

/* 3. Precision Technology */
.hp-tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 2rem;
    text-align: center;
    margin-top: 3rem;
}
.hp-tech-item img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    margin: 0 auto 1rem;
}
.hp-tech-item h4 { font-size: 1rem; margin-bottom: 0.25rem; }
.hp-tech-item p { font-size: 0.8rem; color: var(--text-light); }

/* 4. Patient Journey */
.hp-journey {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    margin-top: 3rem;
    overflow-x: auto;
    padding-bottom: 1rem;
}
.hp-journey-step {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 0 1rem;
    min-width: 150px;
}
.hp-journey-icon {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 0 auto 1rem;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--primary-color);
}
.hp-journey-step h4 { font-size: 1.1rem; margin-bottom: 0.25rem; }
.hp-journey-step p { font-size: 0.85rem; color: var(--text-light); }

/* 5. Real Results */
.hp-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
.hp-result-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--secondary-color);
}
.hp-result-card h4 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.hp-result-metric { font-size: 2rem; font-weight: 700; color: var(--primary-color); display: flex; align-items: center; gap: 0.5rem; }
.hp-result-metric span { font-size: 1rem; color: var(--secondary-color); }
.hp-result-timeline { font-size: 0.85rem; color: var(--text-light); margin-top: 0.25rem; }
.hp-result-chart { margin-top: 1rem; height: 60px; background: #f8faf9; border-radius: 4px; display: flex; align-items: flex-end; padding: 0.5rem; gap: 4px; }
.hp-chart-bar { background: var(--secondary-color); width: 100%; border-radius: 2px 2px 0 0; }

/* 6. Intro Video */
.hp-video-wrapper {
    position: relative;
    max-width: 800px;
    margin: 3rem auto 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.hp-video-wrapper img { width: 100%; display: block; }
.hp-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(11, 59, 96, 0.9);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    cursor: pointer;
    transition: transform 0.2s;
}
.hp-play-btn:hover { transform: translate(-50%, -50%) scale(1.1); }

/* 8. FAQs */
.hp-faq-list { max-width: 800px; margin: 3rem auto 0; }
.hp-faq-item {
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}
.hp-faq-question {
    padding: 1.25rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.hp-faq-answer { padding: 0 1.25rem 1.25rem; color: var(--text-light); display: none; }
.hp-faq-item.active .hp-faq-answer { display: block; }

/* 10. Free Health Tools */
.hp-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}
.hp-tool-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: box-shadow 0.2s;
}
.hp-tool-card:hover { box-shadow: var(--shadow-md); }
.hp-tool-icon { font-size: 2.5rem; color: var(--accent-color); margin-bottom: 1rem; }

/* 11. Lead Magnets */
.hp-magnets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}
.hp-magnet-item {
    text-align: center;
    background: white;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid var(--border);
}
.hp-magnet-item i { font-size: 2rem; color: var(--primary-color); margin-bottom: 0.5rem; }

/* 12. Local SEO */
.hp-local-seo {
    background: #f1f5f9;
    padding: 1.5rem 1rem;
    text-align: center;
    font-size: 0.9rem;
}
.hp-local-seo p { color: var(--text-light); margin-top: 0.5rem; }

@media (max-width: 768px) {
    .hp-hero-content { grid-template-columns: 1fr; text-align: center; }
    .hp-trust-badges { justify-content: center; flex-wrap: wrap; }
    .hp-hero-text h1 { font-size: 2.2rem; }
    .hp-journey { flex-direction: column; gap: 2rem; align-items: center; }
    .hp-journey-step::after { display: none; }
    .hp-doctor-intro-grid { grid-template-columns: 1fr !important; text-align: center; }
    .hp-lead-magnet-split { grid-template-columns: 1fr !important; text-align: center; }
    .hp-tech-grid { gap: 1rem; }
}
