/* =========================================
   GEO LANDING PAGE STYLES
   Path: css/topic-style.css
   ========================================= */

/* --- GLOBAL DESIGN SYSTEM --- */
:root { 
    --font-serif: 'Source Serif 4', serif; 
    --font-sans: 'DM Sans', sans-serif;    
    --bg-light: #FDFBF7; /* Warm Alabaster */
    --bg-white: #FFFFFF;
    --bg-navy: #0f172a;
    --text-primary: #1C1C1E; 
    --text-secondary: #64748b;
    --accent-apricot: #FFCF99; 
    --accent-apricot-hover: #ffb666;
    --accent-amber: #d97706;
    --radius-pill: 999px;
    --radius-card: 24px;
}

body { 
    margin: 0; 
    font-family: var(--font-sans); 
    background-color: var(--bg-light); 
    color: var(--text-primary); 
    line-height: 1.6; 
    -webkit-font-smoothing: antialiased; 
}

* { box-sizing: border-box; }

/* --- HEADER --- */
.nav-wrapper { width: 100%; position: fixed; top: 16px; left: 0; z-index: 1000; display: flex; justify-content: center; }
.nav-container { width: 90%; max-width: 1200px; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-radius: 99px; padding: 12px 24px; display: flex; align-items: center; justify-content: space-between; border: 1px solid rgba(0, 0, 0, 0.05); box-shadow: 0 4px 20px rgba(0,0,0,0.05); }
.logo { font-family: var(--font-serif); font-weight: 700; font-size: 1.5rem; color: #111; text-decoration: none; }

/* --- BUTTONS --- */
.btn-primary { background-color: var(--accent-apricot); color: #020408; font-family: var(--font-sans); font-weight: 700; font-size: 15px; padding: 14px 32px; border-radius: var(--radius-pill); border: none; cursor: pointer; transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1); box-shadow: 0 4px 20px rgba(255, 207, 153, 0.15); text-decoration: none; display: inline-block; text-align: center; width: 100%; }
.btn-primary:hover { background-color: var(--accent-apricot-hover); transform: translateY(-1px); box-shadow: 0 8px 25px rgba(255, 207, 153, 0.3); }
.btn-nav { width: auto; padding: 10px 24px; font-size: 14px; }

/* --- PAGE STRUCTURE --- */
.geo-content-container { max-width: 760px; margin: 140px auto 80px; padding: 0 5%; }

/* --- TYPOGRAPHY & BLOCKS --- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-sans); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; background: rgba(217, 119, 6, 0.08); border: 1px solid rgba(217, 119, 6, 0.15); color: #334155; margin-bottom: 20px; padding: 6px 14px; border-radius: 99px; text-decoration: none; transition: background 0.2s; }
.eyebrow-dot { width: 6px; height: 6px; background: var(--accent-amber); border-radius: 50%; }
.eyebrow:hover { background: rgba(217, 119, 6, 0.12); }

.section-headline { font-family: var(--font-serif); font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1.15; color: #111; margin-bottom: 24px; font-weight: 500; letter-spacing: -0.02em; text-wrap: balance; }
.subcopy-lead { font-family: var(--font-serif); font-size: 1.35rem; line-height: 1.55; color: #1e293b; margin-bottom: 32px; font-weight: 500; text-wrap: balance; border-left: 4px solid #cbd5e1; padding-left: 20px; }

/* Clinical Byline under H1 */
.clinical-byline { font-family: var(--font-sans); font-size: 0.9rem; color: var(--text-secondary); margin-top: -8px; margin-bottom: 24px; font-weight: 500; }

/* --- AUTHORITY CARD (E-E-A-T) WITH ZOOM CONTROL --- */
.proof-container { display: flex; align-items: center; gap: 24px; background: var(--bg-white); border: 1px solid rgba(0,0,0,0.06); border-radius: var(--radius-card); padding: 24px; box-shadow: 0 10px 30px rgba(0,0,0,0.03); margin-bottom: 40px; text-decoration: none; color: inherit; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.proof-container:hover { transform: translateY(-2px); box-shadow: 0 15px 35px rgba(0,0,0,0.06); }

/* The Mask (Keeps the circle perfect at 80px) */
.proof-img-wrapper { width: 80px; height: 80px; border-radius: 50%; overflow: hidden; border: 1px solid rgba(0,0,0,0.05); background: #f8fafc; flex-shrink: 0; }

/* The Image (Manual zoom and pan controls) */
.proof-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18) translateY(5%); }

.proof-divider { width: 1px; height: 60px; background: rgba(0,0,0,0.08); }
.proof-text h3 { margin: 0 0 4px 0; font-family: var(--font-serif); font-size: 1.25rem; color: #111; }
.proof-text p { margin: 0; font-size: 0.95rem; color: var(--text-secondary); line-height: 1.4; }

/* --- 30% BASELINE FACTS --- */
.content-card { background: var(--bg-white); padding: 40px; border-radius: var(--radius-card); border: 1px solid rgba(0,0,0,0.04); box-shadow: 0 4px 20px rgba(0,0,0,0.02); margin-bottom: 40px; }
.content-card p { font-size: 1.1rem; color: #334155; margin-bottom: 20px; }
.clinical-list { font-size: 1.1rem; color: #334155; padding-left: 24px; }
.clinical-list li { margin-bottom: 16px; line-height: 1.6; }
.clinical-list strong { color: #0f172a; }

/* --- EXPERT PARTNERSHIP (70% PIVOT) --- */
.expert-partnership { margin-top: 48px; padding-top: 40px; border-top: 1px solid rgba(0,0,0,0.08); }
.partnership-h3 { font-family: var(--font-serif); font-size: 1.5rem; color: var(--text-primary); margin-bottom: 12px; }
.partnership-p { font-family: var(--font-sans); font-size: 1.05rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 32px; }

/* Breathing room for partnership bullets */
.bullet-spacing { margin-bottom: 32px; }
.bullet-spacing ul li { margin-bottom: 12px; }

/* Low-Friction Partnership CTA Button */
.btn-partnership { width: 100%; text-align: center; padding: 16px 24px; font-size: 1.1rem; background-color: var(--text-primary); color: #fff; border-radius: var(--radius-pill); transition: opacity 0.2s; border: none; cursor: pointer; font-weight: 600; }
.btn-partnership:hover { opacity: 0.85; background-color: var(--text-primary); }
.cta-subtext { text-align: center; font-family: var(--font-sans); font-size: 0.85rem; color: var(--text-secondary); margin-top: 12px; }


/* --- STREAMLINED GEO FOOTER --- */
.geo-footer { padding: 40px 5%; border-top: 1px solid rgba(0,0,0,0.08); margin-top: 80px; }
.footer-content { max-width: 600px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.footer-links { display: flex; gap: 24px; align-items: center; }
.footer-links a { font-family: var(--font-sans); color: var(--text-secondary); text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: color 0.2s ease; }
.footer-links a:hover { color: var(--text-primary); }


/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 768px) {
    .nav-wrapper { top: 12px; }
    .nav-container { padding: 12px 20px; width: 92%; }
    .geo-content-container { margin-top: 130px; padding: 0 20px; }
    .proof-container { flex-direction: column; text-align: center; gap: 16px; }
    .proof-divider { width: 60px; height: 1px; }
    .content-card { padding: 30px 20px; }
    .footer-content { flex-direction: column; gap: 20px; }
}


/* --- MODAL STYLES --- */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.6); /* Navy background with opacity */
    backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
    display: flex; align-items: center; justify-content: center;
    z-index: 2000; opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.modal-overlay.active { opacity: 1; pointer-events: auto; }

.modal-content {
    background: var(--bg-white); padding: 40px; border-radius: var(--radius-card);
    max-width: 400px; width: 90%; text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1); transform: translateY(20px); transition: transform 0.3s ease;
}
.modal-overlay.active .modal-content { transform: translateY(0); }

.modal-content h3 { font-family: var(--font-serif); font-size: 1.8rem; color: var(--bg-navy); margin: 0 0 16px 0; font-weight: 500;}
.modal-content p { font-size: 1.05rem; color: var(--text-secondary); margin-bottom: 32px; line-height: 1.5; }
.modal-content .btn-primary { width: 100%; }
.close-modal { margin-top: 16px; display: block; font-size: 0.9rem; color: var(--text-secondary); text-decoration: underline; cursor: pointer; }

/* Premium Expert Credentials Styling */
.expert-role {
    font-family: var(--font-sans, 'DM Sans', sans-serif);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--accent-amber, #d97706);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 4px 0 12px 0;
}
.expert-credentials {
    margin: 0;
    padding-left: 16px;
    font-family: var(--font-sans, 'DM Sans', sans-serif);
    font-size: 0.9rem;
    color: var(--text-secondary, #64748b);
    line-height: 1.5;
}
.expert-credentials li {
    margin-bottom: 4px;
}