/* VirtualHealthVisits.com — Design System */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=DM+Sans:ital,wght@0,400;0,500;0,700;1,400&display=swap');

:root {
    --primary: #0c4a6e;
    --primary-light: #0ea5e9;
    --accent: #f97316;
    --accent-hover: #ea580c;
    --bg: #fafbfd;
    --bg-card: #ffffff;
    --bg-alt: #f0f4f8;
    --text: #1e293b;
    --text-light: #64748b;
    --text-white: #ffffff;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    font-size: 16px;
}

h1, h2, h3, h4, h5 {
    font-family: 'Outfit', sans-serif;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

a { color: var(--primary-light); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary); }

img { max-width: 100%; height: auto; display: block; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ===== NAVIGATION ===== */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}
.nav-inner {
    max-width: var(--max-width); margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between;
    height: 72px;
}
.nav-logo {
    font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 1.25rem;
    color: var(--primary); display: flex; align-items: center; gap: 8px;
}
.nav-logo-icon {
    width: 36px; height: 36px; background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: 10px; display: flex; align-items: center; justify-content: center;
    color: white; font-size: 1.1rem;
}
.nav-links { display: flex; gap: 8px; align-items: center; }
.nav-links a {
    padding: 8px 16px; border-radius: 8px; font-size: 0.9rem;
    color: var(--text); font-weight: 500; transition: var(--transition);
}
.nav-links a:hover { background: var(--bg-alt); color: var(--primary); }
.nav-cta {
    background: var(--accent) !important; color: white !important;
    padding: 10px 20px !important; border-radius: 10px !important;
    font-weight: 600 !important; font-size: 0.9rem !important;
}
.nav-cta:hover { background: var(--accent-hover) !important; transform: translateY(-1px); }

.nav-hamburger {
    display: none; background: none; border: none; cursor: pointer;
    width: 32px; height: 32px; position: relative;
}
.nav-hamburger span {
    display: block; width: 22px; height: 2px; background: var(--text);
    position: absolute; left: 5px; transition: var(--transition);
}
.nav-hamburger span:nth-child(1) { top: 9px; }
.nav-hamburger span:nth-child(2) { top: 15px; }
.nav-hamburger span:nth-child(3) { top: 21px; }

/* ===== HERO SECTIONS ===== */
.hero {
    position: relative; min-height: 520px; display: flex; align-items: center;
    margin-top: 72px; overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0; z-index: 0;
}
.hero-bg img {
    width: 100%; height: 100%; object-fit: cover;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(12,74,110,0.82) 0%, rgba(14,165,233,0.45) 100%);
    z-index: 1;
}
.hero-content {
    position: relative; z-index: 2; max-width: var(--max-width);
    margin: 0 auto; padding: 80px 24px;
}
.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800;
    color: white; margin-bottom: 20px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.15);
}
.hero p {
    font-size: clamp(1rem, 2vw, 1.2rem); color: rgba(255,255,255,0.92);
    max-width: 600px; margin-bottom: 32px; line-height: 1.8;
}
.hero-cta {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--accent); color: white; padding: 16px 32px;
    border-radius: 12px; font-weight: 700; font-size: 1.05rem;
    transition: var(--transition); box-shadow: 0 4px 20px rgba(249,115,22,0.35);
}
.hero-cta:hover {
    background: var(--accent-hover); transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(249,115,22,0.4); color: white;
}

/* ===== SECTION BASICS ===== */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-heading {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 700;
    text-align: center; margin-bottom: 16px; color: var(--primary);
}
.section-sub {
    text-align: center; color: var(--text-light); font-size: 1.1rem;
    max-width: 640px; margin: 0 auto 48px;
}

/* ===== CONDITION CARDS (Homepage) ===== */
.conditions-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 20px;
}
.condition-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 32px 28px;
    transition: var(--transition); cursor: pointer; position: relative;
    overflow: hidden; text-decoration: none; color: var(--text);
    display: block;
}
.condition-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 4px; transition: var(--transition);
}
.condition-card:hover {
    transform: translateY(-4px); box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.condition-card:hover::before { height: 4px; }
.condition-icon { font-size: 2.2rem; margin-bottom: 16px; display: block; }
.condition-name {
    font-family: 'Outfit', sans-serif; font-weight: 700;
    font-size: 1.2rem; margin-bottom: 8px; color: var(--text);
}
.condition-desc { font-size: 0.92rem; color: var(--text-light); line-height: 1.6; }
.condition-arrow {
    display: inline-flex; align-items: center; gap: 6px;
    margin-top: 16px; font-weight: 600; font-size: 0.9rem;
    transition: var(--transition);
}
.condition-card:hover .condition-arrow { gap: 10px; }

/* ===== HOW IT WORKS ===== */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.step-card { text-align: center; padding: 24px; }
.step-number {
    width: 56px; height: 56px; border-radius: 16px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    color: white; display: flex; align-items: center; justify-content: center;
    font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 1.3rem;
    margin: 0 auto 20px; box-shadow: 0 4px 16px rgba(14,165,233,0.3);
}
.step-title {
    font-family: 'Outfit', sans-serif; font-weight: 600;
    font-size: 1.1rem; margin-bottom: 8px;
}
.step-desc { color: var(--text-light); font-size: 0.95rem; }

/* ===== PROVIDER CARDS ===== */
.providers-list { display: flex; flex-direction: column; gap: 20px; }

.provider-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 32px;
    display: grid; grid-template-columns: 1fr auto;
    gap: 24px; align-items: center;
    transition: var(--transition); position: relative;
}
.provider-card:hover {
    box-shadow: var(--shadow-md); border-color: var(--primary-light);
    transform: translateY(-2px);
}
.provider-badge {
    position: absolute; top: 16px; right: 16px;
    padding: 5px 14px; border-radius: 20px; font-size: 0.78rem;
    font-weight: 700; color: white; letter-spacing: 0.02em;
}
.provider-info { flex: 1; }
.provider-name {
    font-family: 'Outfit', sans-serif; font-weight: 700;
    font-size: 1.35rem; margin-bottom: 4px;
}
.provider-tagline { color: var(--text-light); font-size: 0.95rem; margin-bottom: 16px; }

.provider-details { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 16px; }
.provider-detail {
    display: flex; align-items: flex-start; gap: 8px; font-size: 0.9rem;
}
.provider-detail-icon {
    width: 20px; height: 20px; flex-shrink: 0;
    color: var(--primary-light); margin-top: 2px;
}
.provider-detail-label { color: var(--text-light); font-size: 0.8rem; }
.provider-detail-value { font-weight: 500; }

.provider-highlight {
    display: inline-flex; align-items: center; gap: 6px;
    background: #ecfdf5; color: #065f46; padding: 6px 14px;
    border-radius: 8px; font-size: 0.85rem; font-weight: 500;
}
.provider-highlight svg { width: 16px; height: 16px; color: #059669; }

.provider-cta-wrap { text-align: center; }
.provider-cta {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--accent); color: white; padding: 14px 28px;
    border-radius: 10px; font-weight: 700; font-size: 0.95rem;
    transition: var(--transition); white-space: nowrap;
    box-shadow: 0 2px 12px rgba(249,115,22,0.2);
}
.provider-cta:hover {
    background: var(--accent-hover); transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249,115,22,0.3); color: white;
}

/* ===== INTRO SECTION ===== */
.intro-content {
    max-width: 780px; margin: 0 auto;
    font-size: 1.05rem; line-height: 1.85; color: var(--text);
}
.intro-content h2 {
    font-size: 1.8rem; color: var(--primary); margin-bottom: 20px;
    text-align: center;
}

/* ===== TRUST BAR ===== */
.trust-bar {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 32px;
    padding: 40px 0;
}
.trust-item {
    display: flex; align-items: center; gap: 10px;
    color: var(--text-light); font-size: 0.9rem; font-weight: 500;
}
.trust-icon {
    width: 40px; height: 40px; border-radius: 10px;
    background: var(--bg-alt); display: flex; align-items: center;
    justify-content: center; font-size: 1.2rem;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--primary); color: rgba(255,255,255,0.8);
    padding: 64px 0 32px;
}
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr;
    gap: 48px; margin-bottom: 48px;
}
.footer-brand h3 {
    font-family: 'Outfit', sans-serif; color: white;
    font-size: 1.3rem; margin-bottom: 12px;
}
.footer-brand p { font-size: 0.9rem; line-height: 1.7; max-width: 320px; }
.footer-links h4 {
    font-family: 'Outfit', sans-serif; color: white;
    font-size: 0.95rem; margin-bottom: 16px; font-weight: 600;
}
.footer-links a {
    display: block; color: rgba(255,255,255,0.7); font-size: 0.9rem;
    padding: 4px 0; transition: var(--transition);
}
.footer-links a:hover { color: white; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 24px; text-align: center; font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
}
.footer-bottom a { color: rgba(255,255,255,0.6); }

/* ===== DISCLOSURE BANNER ===== */
.disclosure {
    background: #fffbeb; border-bottom: 1px solid #fde68a;
    padding: 12px 24px; text-align: center;
    font-size: 0.82rem; color: #92400e;
}

/* ===== ANIMATIONS ===== */
.fade-up {
    opacity: 0; transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ===== MOBILE ===== */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-hamburger { display: block; }
    .nav-links.open {
        display: flex; flex-direction: column;
        position: absolute; top: 72px; left: 0; right: 0;
        background: white; border-bottom: 1px solid var(--border);
        padding: 16px 24px; box-shadow: var(--shadow-md);
    }
    .hero { min-height: 440px; }
    .hero-content { padding: 60px 24px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .provider-card { grid-template-columns: 1fr; text-align: center; }
    .provider-cta-wrap { text-align: center; }
    .provider-details { justify-content: center; }
    .provider-badge { position: relative; top: 0; right: 0; display: inline-block; margin-bottom: 12px; }
    .conditions-grid { grid-template-columns: 1fr 1fr; }
    .section { padding: 56px 0; }
}

@media (max-width: 480px) {
    .conditions-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; }
}
