/* ============================================================
   PSCareFlow.health — Complete Site Redesign 2026
   Brand: PSP Navy #041836 · PSP Blue #1b6ec2 · Globe Accent #00c6ae
   Font: Sora (headings) + DM Sans (body) — modern, clinical, bold
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700;800;900&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: #0f172a;
    background: #ffffff;
    overflow-x: hidden;
}

/* ── Design Tokens ──────────────────────────────────────────── */
:root {
    --navy:        #041836;
    --navy-mid:    #0a2a5e;
    --blue:        #1b6ec2;
    --blue-dark:   #1558a8;
    --blue-light:  #e8f1fb;
    --accent:      #00c6ae;
    --accent-dark: #00a896;
    --gold:        #f59e0b;
    --red:         #e53e3e;
    --text:        #0f172a;
    --text-2:      #334155;
    --text-muted:  #64748b;
    --border:      #e2e8f0;
    --surface:     #f8fafc;
    --surface-2:   #f1f5f9;
    --white:       #ffffff;
    --r-sm:  8px;
    --r-md:  14px;
    --r-lg:  20px;
    --r-xl:  28px;
    --r-2xl: 36px;
    --shadow-sm: 0 1px 4px rgba(4,24,54,.06), 0 1px 2px rgba(4,24,54,.04);
    --shadow-md: 0 4px 18px rgba(4,24,54,.08), 0 2px 6px rgba(4,24,54,.05);
    --shadow-lg: 0 10px 40px rgba(4,24,54,.10), 0 4px 14px rgba(4,24,54,.06);
    --shadow-xl: 0 20px 64px rgba(4,24,54,.13), 0 8px 24px rgba(4,24,54,.08);
    --ease: cubic-bezier(.4,0,.2,1);
    --dur:  0.24s;
}

/* ── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4 {
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    line-height: 1.18;
    color: var(--text);
    letter-spacing: -0.02em;
}
p { color: var(--text-2); }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
.section-spacing { padding: 5.5rem 0; }
@media (max-width: 768px) { .section-spacing { padding: 3.5rem 0; } }

/* ── Pill label ─────────────────────────────────────────────── */
.section-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--blue-light);
    color: var(--blue);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.28rem 0.9rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.pspsn-navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: 68px;
    display: flex;
    align-items: center;
    padding: 0 2rem;
    transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
    background: transparent;
}

.pspsn-navbar.scrolled {
    background: rgba(4, 24, 54, 0.97);
    backdrop-filter: blur(18px);
    box-shadow: 0 2px 24px rgba(0,0,0,.3);
}

/* Logo row */
.navbar-brand-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.navbar-logo-img {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.18);
}

.navbar-brand-text {
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    color: white;
    letter-spacing: -0.02em;
}

.navbar-brand-text span { color: var(--accent); }

/* Nav links */
.navbar-links {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: auto;
}

.nav-link-btn {
    background: none;
    border: none;
    color: rgba(255,255,255,0.82);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.88rem;
    font-weight: 500;
    padding: 0.4rem 0.85rem;
    border-radius: var(--r-sm);
    cursor: pointer;
    transition: color var(--dur), background var(--dur);
}
.nav-link-btn:hover { color: white; background: rgba(255,255,255,0.1); }
.nav-link-btn.active { color: white; background: rgba(255,255,255,0.14); }

.nav-cta-btn {
    background: var(--blue) !important;
    color: white !important;
    border-radius: var(--r-sm) !important;
    padding: 0.4rem 1.2rem !important;
    font-weight: 600 !important;
    margin-left: 0.5rem;
    box-shadow: 0 3px 12px rgba(27,110,194,.4);
    transition: background var(--dur), transform var(--dur), box-shadow var(--dur) !important;
}
.nav-cta-btn:hover {
    background: var(--blue-dark) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(27,110,194,.5) !important;
}

/* Mobile */
.nav-mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: white;
    padding: 0.4rem;
    margin-left: auto;
}
.nav-mobile-menu {
    display: none;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: rgba(4,24,54,0.98);
    backdrop-filter: blur(18px);
    padding: 1rem 1.5rem 1.5rem;
    flex-direction: column;
    gap: 2px;
    z-index: 999;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-link {
    background: none;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    color: rgba(255,255,255,0.82);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.8rem 0.5rem;
    cursor: pointer;
    text-align: left;
    width: 100%;
}
.nav-mobile-link:hover { color: white; }
@media (max-width: 900px) {
    .navbar-links { display: none; }
    .nav-mobile-toggle { display: block; }
}

/* ============================================================
   HERO  — dark globe-inspired full-bleed
   ============================================================ */
.hero-full {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    background: var(--navy);
    overflow: hidden;
}

/* Animated globe rings in background */
.hero-full::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 80% at 70% 50%, rgba(27,110,194,0.28) 0%, transparent 65%),
        radial-gradient(ellipse 50% 60% at 20% 80%, rgba(0,198,174,0.14) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 85% 15%, rgba(27,110,194,0.15) 0%, transparent 55%);
}

/* Subtle grid lines (globe feel) */
.hero-full::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-top: 68px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0,198,174,0.12);
    border: 1px solid rgba(0,198,174,0.3);
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.35rem 1rem;
    border-radius: 999px;
    margin-bottom: 1.5rem;
}

.hero-badge-dot {
    width: 6px; height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
    0%,100%  { opacity:1; transform:scale(1); }
    50%      { opacity:.5; transform:scale(1.5); }
}

.hero-heading {
    font-family: 'Sora', sans-serif;
    font-size: clamp(2.4rem, 5.5vw, 4rem);
    font-weight: 900;
    line-height: 1.06;
    color: white;
    letter-spacing: -0.035em;
    margin-bottom: 1.3rem;
}

.hero-heading .hl {
    background: linear-gradient(90deg, var(--accent) 0%, #4fd1c5 50%, var(--blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtext {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.72);
    line-height: 1.8;
    max-width: 510px;
    margin-bottom: 2.2rem;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 3rem;
}

/* Primary CTA */
.btn-primary-hero {
    background: linear-gradient(135deg, var(--blue) 0%, var(--accent) 100%);
    color: white;
    border: none;
    padding: 0.9rem 2.2rem;
    border-radius: var(--r-md);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform var(--dur), box-shadow var(--dur);
    box-shadow: 0 4px 22px rgba(27,110,194,.5);
}
.btn-primary-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(27,110,194,.6);
}

/* Outline CTA */
.btn-outline-hero {
    background: rgba(255,255,255,0.1);
    color: white;
    border: 1.5px solid rgba(255,255,255,0.28);
    padding: 0.9rem 2.2rem;
    border-radius: var(--r-md);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: all var(--dur);
}
.btn-outline-hero:hover {
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-2px);
}

/* Hero stats */
.hero-stats { display: flex; gap: 2.5rem; flex-wrap: wrap; }
.hero-stat-num {
    font-family: 'Sora', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    color: white;
    line-height: 1;
}
.hero-stat-label {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.55);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-top: 4px;
}

/* Hero mockup card */
.hero-mockup-card {
    background: rgba(4,24,54,0.85);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--r-xl);
    overflow: hidden;
    backdrop-filter: blur(24px);
    box-shadow: 0 28px 72px rgba(0,0,0,.5);
}
.hero-mockup-topbar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0.7rem 1rem;
    background: rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.hero-mockup-dot { width:11px; height:11px; border-radius:50%; flex-shrink:0; }
.hero-mockup-body { padding: 1.25rem; }
.hero-mockup-stat-row { display:flex; gap:1rem; margin-bottom:0.75rem; }
.hero-mockup-stat {
    flex:1; background:rgba(255,255,255,0.06); border-radius:10px;
    padding:0.8rem 0.75rem; text-align:center;
    border:1px solid rgba(255,255,255,0.07);
}
.hero-mockup-stat-val { font-size:1.6rem; font-weight:900; line-height:1; margin-bottom:3px; }
.hero-mockup-stat-lbl { font-size:0.65rem; font-weight:600; color:rgba(255,255,255,.4); text-transform:uppercase; letter-spacing:.05em; }
.hero-mockup-row {
    display:flex; align-items:center; gap:0.75rem;
    padding:0.6rem 0; border-bottom:1px solid rgba(255,255,255,0.06);
}
.hero-mockup-row:last-of-type { border-bottom:none; }
.hero-mockup-avatar { width:32px; height:32px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:0.7rem; font-weight:700; color:white; flex-shrink:0; }
.hero-mockup-hipaa { margin-top:0.85rem; font-size:0.7rem; color:rgba(255,255,255,.3); text-align:center; padding-top:0.7rem; border-top:1px solid rgba(255,255,255,0.06); }

/* Scroll hint */
.hero-scroll-hint {
    position:absolute; bottom:2rem; left:50%; transform:translateX(-50%);
    z-index:3; display:flex; flex-direction:column; align-items:center; gap:5px;
    color:rgba(255,255,255,.4); font-size:0.68rem; letter-spacing:.1em; text-transform:uppercase;
}
.scroll-mouse {
    width:22px; height:34px; border:2px solid rgba(255,255,255,.25); border-radius:11px; position:relative;
}
.scroll-mouse::before {
    content:''; width:3px; height:7px; background:rgba(255,255,255,.45); border-radius:2px;
    position:absolute; top:5px; left:50%; transform:translateX(-50%);
    animation:scroll-bob 1.8s ease infinite;
}
@keyframes scroll-bob {
    0%,100% { transform:translateX(-50%) translateY(0); opacity:1; }
    70%     { transform:translateX(-50%) translateY(9px); opacity:.2; }
}

/* ============================================================
   TRUSTED BY STRIP
   ============================================================ */
.trusted-strip {
    background: var(--surface);
    border-top:1px solid var(--border);
    border-bottom:1px solid var(--border);
    padding: 2rem 0;
}
.trusted-label {
    font-size:0.72rem; font-weight:700; text-transform:uppercase;
    letter-spacing:.13em; color:var(--text-muted); text-align:center; margin-bottom:1.2rem;
}
.trusted-logos { display:flex; align-items:center; justify-content:center; gap:2.5rem; flex-wrap:wrap; padding:0 2rem; }
.trusted-logo-pill {
    display:flex; align-items:center; gap:0.5rem;
    background:white; border:1px solid var(--border); border-radius:var(--r-md);
    padding:0.55rem 1.2rem; font-size:0.85rem; font-weight:600; color:var(--text-2);
    white-space:nowrap; transition:box-shadow var(--dur);
}
.trusted-logo-pill:hover { box-shadow:var(--shadow-md); }
.trusted-logo-emoji { font-size:1rem; }

/* ============================================================
   FEATURE CARDS
   ============================================================ */
.feature-cards-container {
    position:relative; z-index:5;
    padding:3.5rem 1rem;
}
.feature-card {
    background:white; border-radius:var(--r-xl); overflow:hidden;
    box-shadow:var(--shadow-lg); border:1px solid var(--border);
    transition:transform var(--dur), box-shadow var(--dur);
    height:100%; display:flex; flex-direction:column;
}
.feature-card:hover { transform:translateY(-6px); box-shadow:var(--shadow-xl); }
.feature-card-img { width:100%; height:160px; object-fit:cover; }
.feature-card-body { padding:1.25rem 1.5rem 1.5rem; flex:1; }
.feature-card-title { font-family:'Sora',sans-serif; font-size:0.95rem; font-weight:700; color:var(--text); margin-bottom:0.4rem; }
.feature-card-desc { font-size:0.85rem; color:var(--text-muted); line-height:1.6; }

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section { background:white; }
.about-image-wrap { position:relative; border-radius:var(--r-xl); overflow:hidden; box-shadow:var(--shadow-xl); }
.about-image-wrap img { width:100%; display:block; }
.about-quote-badge {
    position:absolute; bottom:1.5rem; left:1.5rem; right:1.5rem;
    background:linear-gradient(135deg,rgba(27,110,194,.95),rgba(4,24,54,.95));
    color:white; padding:1.2rem 1.5rem; border-radius:var(--r-md);
    font-size:0.875rem; line-height:1.65;
}
.about-stat-strip { display:grid; grid-template-columns:repeat(2,1fr); gap:1rem; margin-top:2rem; }
.about-stat-box { background:var(--surface); border:1px solid var(--border); border-radius:var(--r-md); padding:1rem 1.2rem; text-align:center; transition:box-shadow var(--dur); }
.about-stat-box:hover { box-shadow:var(--shadow-md); }
.about-stat-num { font-family:'Sora',sans-serif; font-size:1.6rem; font-weight:900; color:var(--blue); }
.about-stat-lbl { font-size:0.72rem; color:var(--text-muted); text-transform:uppercase; letter-spacing:.06em; margin-top:2px; }
.check-list { display:grid; grid-template-columns:1fr 1fr; gap:0.65rem; margin:1.5rem 0; }
.check-item { display:flex; align-items:center; gap:0.5rem; font-size:0.875rem; color:var(--text-2); font-weight:500; }
.check-dot { width:20px; height:20px; background:var(--blue-light); border-radius:50%; display:flex; align-items:center; justify-content:center; flex-shrink:0; font-size:0.58rem; color:var(--blue); }

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services-section { background:var(--surface); border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
.service-card {
    background:white; border:1px solid var(--border); border-radius:var(--r-xl);
    padding:2rem; height:100%; position:relative; overflow:hidden;
    transition:transform var(--dur), box-shadow var(--dur), border-color var(--dur);
}
.service-card::before {
    content:''; position:absolute; top:0; left:0; right:0; height:3px;
    background:linear-gradient(90deg,var(--blue),var(--accent));
    transform:scaleX(0); transition:transform var(--dur); transform-origin:left;
}
.service-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-lg); border-color:var(--blue); }
.service-card:hover::before { transform:scaleX(1); }
.service-card-active {
    background:linear-gradient(135deg,var(--blue),var(--navy-mid));
    color:white; border-color:transparent;
}
.service-card-active::before { background:rgba(255,255,255,.25); transform:scaleX(1); }
.service-card-active:hover { box-shadow:0 12px 40px rgba(27,110,194,.42); }
.service-icon-wrap { width:52px; height:52px; border-radius:var(--r-md); display:flex; align-items:center; justify-content:center; margin-bottom:1.25rem; background:var(--blue-light); }
.service-card-active .service-icon-wrap { background:rgba(255,255,255,.18); }

/* ============================================================
   PRICING SECTION (site-embedded version)
   ============================================================ */
.pricing-section { background:var(--navy); color:white; position:relative; overflow:hidden; }
.pricing-section::before {
    content:''; position:absolute; inset:0; pointer-events:none;
    background:
        radial-gradient(ellipse 60% 60% at 80% 20%, rgba(27,110,194,.22) 0%, transparent 65%),
        radial-gradient(ellipse 50% 50% at 10% 80%, rgba(0,198,174,.12) 0%, transparent 60%);
}
.pricing-section > * { position:relative; z-index:1; }

/* Tab switcher */
.pricing-tabs {
    display:inline-flex;
    background:rgba(255,255,255,.07);
    border:1px solid rgba(255,255,255,.1);
    border-radius:var(--r-md);
    padding:4px; gap:4px;
    margin-bottom:2.5rem;
}
.pricing-tab {
    padding:8px 22px; border-radius:var(--r-sm); border:none; cursor:pointer;
    font-family:'DM Sans',sans-serif; font-weight:700; font-size:0.82rem;
    transition:all var(--dur);
}
.pricing-tab.active {
    background:linear-gradient(135deg,var(--blue),var(--accent));
    color:white; box-shadow:0 4px 16px rgba(27,110,194,.4);
}
.pricing-tab:not(.active) { background:transparent; color:rgba(255,255,255,.55); }
.pricing-tab:not(.active):hover { color:white; background:rgba(255,255,255,.08); }

/* Annual toggle */
.billing-toggle {
    display:flex; align-items:center; justify-content:center; gap:12px; margin-bottom:2.5rem;
}
.billing-toggle span { font-size:0.82rem; font-weight:500; color:rgba(255,255,255,.55); }
.billing-toggle span.active-label { color:white; }
.toggle-btn {
    width:44px; height:24px; border-radius:999px; border:none; cursor:pointer;
    position:relative; transition:background var(--dur); padding:0;
}
.toggle-btn.on { background:var(--blue); }
.toggle-btn.off { background:rgba(255,255,255,.18); }
.toggle-knob {
    position:absolute; top:3px;
    width:18px; height:18px; border-radius:50%; background:white;
    transition:left var(--dur);
}
.toggle-knob.on { left:23px; } .toggle-knob.off { left:3px; }
.save-badge {
    font-size:0.68rem; font-weight:700; color:#4ade80;
    background:rgba(74,222,128,.12); border:1px solid rgba(74,222,128,.25);
    border-radius:999px; padding:2px 10px;
}

/* Plan card (dark) */
.plan-card {
    background:rgba(255,255,255,.05);
    border:1px solid rgba(255,255,255,.1);
    border-radius:var(--r-xl);
    padding:28px 26px 32px;
    display:flex; flex-direction:column; height:100%;
    transition:transform var(--dur), box-shadow var(--dur), border-color var(--dur);
    position:relative;
}
.plan-card:hover {
    transform:translateY(-5px);
    box-shadow:0 18px 50px rgba(0,0,0,.35);
    border-color:rgba(255,255,255,.22);
}
.plan-card-featured {
    background:linear-gradient(155deg,rgba(27,110,194,.28),rgba(4,24,54,.6));
    border-color:var(--blue);
    box-shadow:0 8px 40px rgba(27,110,194,.35);
    transform:scale(1.03);
}
.plan-card-featured:hover {
    transform:scale(1.03) translateY(-5px);
    box-shadow:0 22px 56px rgba(27,110,194,.45);
}
.plan-badge {
    position:absolute; top:-13px; left:50%; transform:translateX(-50%);
    background:linear-gradient(90deg,var(--blue),var(--accent));
    color:white; font-size:0.65rem; font-weight:800;
    letter-spacing:.09em; padding:4px 14px; border-radius:999px; white-space:nowrap;
}
.plan-icon { width:40px; height:40px; border-radius:12px; display:flex; align-items:center; justify-content:center; margin-bottom:14px; }
.plan-name { font-size:0.68rem; font-weight:800; letter-spacing:.12em; text-transform:uppercase; margin-bottom:4px; }
.plan-tagline { font-size:0.78rem; color:rgba(255,255,255,.5); margin-bottom:22px; line-height:1.4; }
.plan-price {
    display:flex; align-items:flex-start; gap:3px; margin-bottom:6px;
}
.plan-price-dollar { font-size:1rem; color:rgba(255,255,255,.55); margin-top:10px; font-weight:600; }
.plan-price-num { font-family:'Sora',sans-serif; font-size:3.2rem; font-weight:900; color:white; line-height:1; letter-spacing:-.04em; }
.plan-price-per { font-size:0.78rem; color:rgba(255,255,255,.4); margin-top:auto; margin-bottom:6px; font-weight:500; }
.plan-price-note { font-size:0.68rem; color:rgba(255,255,255,.3); margin-bottom:4px; }
.plan-save { font-size:0.7rem; color:#4ade80; font-weight:500; margin-bottom:24px; }
.plan-cta {
    width:100%; padding:12px 0; border-radius:var(--r-md); border:none;
    font-family:'DM Sans',sans-serif; font-weight:700; font-size:0.85rem; cursor:pointer;
    transition:transform var(--dur), box-shadow var(--dur);
    margin-bottom:9px;
}
.plan-cta-outline {
    background:transparent; border:1.5px solid rgba(255,255,255,.25) !important;
    color:rgba(255,255,255,.85);
}
.plan-cta-outline:hover { border-color:rgba(255,255,255,.6) !important; color:white; transform:translateY(-1px); }
.plan-cta-solid { background:var(--blue); color:white; box-shadow:0 4px 18px rgba(27,110,194,.45); }
.plan-cta-solid:hover { background:var(--blue-dark); transform:translateY(-1px); box-shadow:0 8px 24px rgba(27,110,194,.55); }
.plan-cta-gradient { background:linear-gradient(135deg,var(--blue),var(--accent)); color:white; box-shadow:0 4px 18px rgba(0,198,174,.35); }
.plan-cta-gradient:hover { transform:translateY(-1px); box-shadow:0 8px 24px rgba(0,198,174,.45); }
.plan-trial { text-align:center; font-size:0.68rem; color:rgba(255,255,255,.35); margin-bottom:18px; }
.plan-divider { height:1px; background:rgba(255,255,255,.08); margin:0 0 16px; }
.plan-includes { font-size:0.68rem; color:rgba(255,255,255,.4); font-weight:700; text-transform:uppercase; letter-spacing:.07em; margin-bottom:13px; }
.plan-feature { display:flex; align-items:flex-start; gap:9px; margin-bottom:9px; }
.plan-feature-icon { width:20px; height:20px; border-radius:6px; display:flex; align-items:center; justify-content:center; font-size:0.7rem; flex-shrink:0; margin-top:1px; }
.plan-feature-text { font-size:0.8rem; color:rgba(255,255,255,.7); line-height:1.4; }

/* Setup card (dark) */
.setup-card {
    background:rgba(255,255,255,.05);
    border:1px solid rgba(255,255,255,.1);
    border-radius:var(--r-xl);
    padding:26px 24px 28px;
    display:flex; flex-direction:column; height:100%;
    transition:transform var(--dur), box-shadow var(--dur);
    position:relative;
}
.setup-card:hover { transform:translateY(-4px); box-shadow:0 14px 44px rgba(0,0,0,.3); }
.setup-card-featured { border-color:var(--blue); background:rgba(27,110,194,.12); }
.setup-price { font-family:'Sora',sans-serif; font-size:2.2rem; font-weight:900; color:white; letter-spacing:-.03em; }
.setup-price-note { font-size:0.72rem; color:rgba(255,255,255,.4); font-weight:500; margin-left:6px; }
.setup-note { font-size:0.72rem; color:rgba(255,255,255,.45); font-style:italic; margin-top:5px; line-height:1.4; }
.setup-feature { display:flex; align-items:flex-start; gap:10px; margin-bottom:10px; }
.setup-feature-icon { width:22px; height:22px; border-radius:7px; display:flex; align-items:center; justify-content:center; font-size:0.72rem; flex-shrink:0; margin-top:1px; }
.setup-feature-text { font-size:0.8rem; color:rgba(255,255,255,.7); line-height:1.4; }
.setup-overage { background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.07); border-radius:9px; padding:8px 12px; margin-bottom:16px; font-size:0.7rem; color:rgba(255,255,255,.5); line-height:1.5; }
.setup-overage strong { color:var(--accent); }

/* Enterprise row */
.enterprise-row {
    margin-top:20px; border-radius:var(--r-xl); padding:2px;
    background:linear-gradient(90deg,rgba(27,110,194,.5),rgba(0,198,174,.4),rgba(27,110,194,.5));
}
.enterprise-inner {
    background:#0a1428; border-radius:calc(var(--r-xl) - 2px);
    padding:28px 36px;
    display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:20px;
}
.enterprise-pill {
    font-size:0.64rem; font-weight:800; color:var(--accent);
    background:rgba(0,198,174,.12); border:1px solid rgba(0,198,174,.25);
    border-radius:999px; padding:3px 10px; letter-spacing:.07em;
}
.enterprise-feature { display:inline-flex; align-items:center; gap:5px; font-size:0.72rem; color:rgba(255,255,255,.65); font-weight:600; }
.enterprise-feature::before { content:'✓'; color:var(--accent); }

/* Overage grid */
.overage-grid {
    display:grid; grid-template-columns:repeat(3,1fr); gap:20px;
    margin-top:20px; padding:20px 24px; border-radius:var(--r-lg);
    background:rgba(255,255,255,.03); border:1px solid rgba(255,255,255,.07);
}
.overage-item { display:flex; align-items:center; gap:14px; }
.overage-icon { width:40px; height:40px; border-radius:11px; background:rgba(27,110,194,.14); display:flex; align-items:center; justify-content:center; font-size:1.1rem; flex-shrink:0; }
.overage-price { font-family:'Sora',sans-serif; font-size:1.15rem; font-weight:900; color:white; }
.overage-label { font-size:0.72rem; color:rgba(255,255,255,.45); margin-bottom:2px; }
.overage-note { font-size:0.65rem; color:rgba(255,255,255,.25); }

/* Volume pricing note */
.volume-note {
    text-align:center; margin-top:2.5rem;
    padding:24px 32px; border-radius:var(--r-lg);
    background:rgba(255,255,255,.03); border:1px solid rgba(255,255,255,.07);
}

/* ============================================================
   TESTIMONIALS SECTION
   ============================================================ */
.testimonials-section {
    position:relative;
    background:linear-gradient(155deg, var(--navy) 0%, var(--navy-mid) 100%);
    padding:5.5rem 0;
    color:white;
    overflow:hidden;
}
.testimonials-section::before {
    content:''; position:absolute; inset:0;
    background:url('https://images.unsplash.com/photo-1576091160550-2173dba999ef?w=1800&q=60&fit=crop') center/cover;
    opacity:.08;
}
.testimonials-section > * { position:relative; z-index:1; }
.testimonial-card {
    background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.12);
    border-radius:var(--r-xl); padding:2rem; color:white;
    backdrop-filter:blur(12px);
    transition:transform var(--dur), box-shadow var(--dur);
    height:100%; display:flex; flex-direction:column;
}
.testimonial-card:hover { transform:translateY(-5px); box-shadow:0 16px 40px rgba(0,0,0,.35); }
.testimonial-stars { color:var(--gold); font-size:0.85rem; margin-bottom:1rem; }
.testimonial-text { font-size:0.93rem; line-height:1.75; color:rgba(255,255,255,.85); flex:1; font-style:italic; }
.testimonial-author { margin-top:1.5rem; display:flex; align-items:center; gap:.85rem; }
.testimonial-avatar { width:44px; height:44px; border-radius:50%; background:linear-gradient(135deg,var(--blue),var(--accent)); display:flex; align-items:center; justify-content:center; font-size:.95rem; font-weight:700; color:white; flex-shrink:0; }
.testimonial-name { font-weight:700; font-size:.88rem; color:white; }
.testimonial-role { font-size:.75rem; color:rgba(255,255,255,.55); margin-top:1px; }

/* ============================================================
   FAQ SECTION
   ============================================================ */
.faq-card {
    background:white; border:1px solid var(--border); border-radius:var(--r-lg); overflow:hidden;
    transition:box-shadow var(--dur), border-color var(--dur);
}
.faq-card:hover, .faq-card.open { border-color:var(--blue); box-shadow:var(--shadow-md); }
.faq-question {
    width:100%; display:flex; justify-content:space-between; align-items:center;
    padding:1.1rem 1.4rem; background:transparent; border:none;
    font-family:'DM Sans',sans-serif; font-size:.95rem; font-weight:600; color:var(--text);
    cursor:pointer; text-align:left; gap:1rem; transition:background var(--dur);
}
.faq-question:hover { background:var(--surface); }
.faq-card.open .faq-question { background:var(--blue-light); color:var(--blue); }
.faq-chevron { font-size:1.25rem; color:var(--text-muted); transition:transform .24s ease; flex-shrink:0; }
.faq-chevron.rotated { transform:rotate(180deg); color:var(--blue); }
.faq-answer { padding:0 1.4rem 1.2rem; font-size:.875rem; color:var(--text-2); line-height:1.75; border-top:1px solid var(--border); padding-top:1rem; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section { background:linear-gradient(135deg,var(--navy),var(--navy-mid) 60%,var(--blue)); position:relative; overflow:hidden; color:white; }
.cta-section::before { content:''; position:absolute; top:-40%; right:-5%; width:600px; height:600px; background:radial-gradient(circle,rgba(0,198,174,.18) 0%,transparent 65%); pointer-events:none; }
.cta-inline-card { background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.12); border-radius:var(--r-xl); padding:3rem; backdrop-filter:blur(8px); }

/* ============================================================
   FOOTER
   ============================================================ */
.pspsn-footer {
    background:var(--navy);
    color:white;
    padding:5rem 0 2rem;
    position:relative;
}
.pspsn-footer::before {
    content:''; position:absolute; top:0; left:0; right:0; height:3px;
    background:linear-gradient(90deg,var(--blue),var(--accent),var(--blue));
}
.footer-brand-text { font-size:.875rem; color:rgba(255,255,255,.5); line-height:1.7; margin-top:1rem; }
.footer-heading { font-size:.72rem; font-weight:700; text-transform:uppercase; letter-spacing:.13em; color:rgba(255,255,255,.35); margin-bottom:1.2rem; }
.footer-links { list-style:none; padding:0; margin:0; }
.footer-links li { margin-bottom:.55rem; }
.footer-links a, .footer-link-btn { color:rgba(255,255,255,.6); font-size:.88rem; text-decoration:none; transition:color var(--dur); background:none; border:none; cursor:pointer; padding:0; font-family:'DM Sans',sans-serif; }
.footer-links a:hover, .footer-link-btn:hover { color:white; }
.footer-contact-item { display:flex; align-items:flex-start; gap:.75rem; margin-bottom:.85rem; color:rgba(255,255,255,.6); font-size:.875rem; }
.footer-contact-icon { width:32px; height:32px; background:rgba(255,255,255,.08); border-radius:var(--r-sm); display:flex; align-items:center; justify-content:center; flex-shrink:0; margin-top:1px; }
.footer-divider { border:none; border-top:1px solid rgba(255,255,255,.08); margin:2.5rem 0 1.5rem; }
.footer-bottom { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:1rem; font-size:.8rem; color:rgba(255,255,255,.35); }
.footer-bottom-links { display:flex; gap:1.5rem; }
.footer-bottom-links a { color:rgba(255,255,255,.35); text-decoration:none; transition:color var(--dur); }
.footer-bottom-links a:hover { color:rgba(255,255,255,.7); }
.footer-social { display:flex; gap:.5rem; margin-top:1.25rem; }
.footer-social-btn { width:36px; height:36px; background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.1); border-radius:var(--r-sm); display:flex; align-items:center; justify-content:center; color:rgba(255,255,255,.55); transition:all var(--dur); cursor:pointer; }
.footer-social-btn:hover { background:var(--blue); border-color:var(--blue); color:white; transform:translateY(-2px); }

/* ============================================================
   ABOUT CAREFLOW PAGE
   ============================================================ */
.page-hero { background:linear-gradient(135deg,var(--navy),var(--navy-mid) 55%,var(--blue)); color:white; padding:7rem 0 5rem; position:relative; overflow:hidden; }
.page-hero::before { content:''; position:absolute; top:-30%; right:-5%; width:500px; height:500px; background:radial-gradient(circle,rgba(0,198,174,.15) 0%,transparent 65%); pointer-events:none; }
.feature-grid-card { background:white; border:1px solid var(--border); border-radius:var(--r-lg); padding:1.75rem; text-align:center; transition:transform var(--dur),box-shadow var(--dur); height:100%; }
.feature-grid-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-lg); }
.feature-grid-icon { width:56px; height:56px; background:var(--blue-light); border-radius:var(--r-md); display:flex; align-items:center; justify-content:center; margin:0 auto 1rem; }
.benefit-item { display:flex; align-items:flex-start; gap:1rem; padding:1.2rem; border-radius:var(--r-md); transition:background var(--dur); }
.benefit-item:hover { background:var(--surface); }
.benefit-num { width:36px; height:36px; background:var(--blue-light); color:var(--blue); border-radius:50%; display:flex; align-items:center; justify-content:center; font-weight:800; font-size:.82rem; flex-shrink:0; }

/* ============================================================
   LEGAL / POLICY PAGES
   ============================================================ */
.legal-container { max-width:780px; margin:0 auto; padding:7rem 1.5rem 5rem; }
.legal-heading { font-size:clamp(1.8rem,3.5vw,2.5rem); font-weight:800; margin-bottom:.5rem; }
.legal-updated { font-size:.82rem; color:var(--text-muted); margin-bottom:2.5rem; }
.legal-section-title { font-size:1rem; font-weight:700; color:var(--blue); margin-top:2.5rem; margin-bottom:.65rem; padding-bottom:.4rem; border-bottom:2px solid var(--blue-light); }
.legal-text { font-size:.925rem; color:var(--text-2); line-height:1.8; }
.legal-card { background:white; border-radius:var(--r-xl); padding:3rem; box-shadow:var(--shadow-lg); border:1px solid var(--border); }
.legal-back-row { margin-top:2.5rem; padding-top:1.5rem; border-top:1px solid var(--border); }

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top { position:fixed; bottom:28px; right:28px; z-index:9999; width:44px; height:44px; background:var(--blue); color:white; border:none; border-radius:50%; cursor:pointer; display:flex; align-items:center; justify-content:center; box-shadow:0 4px 16px rgba(27,110,194,.5); transition:all var(--dur); opacity:0; pointer-events:none; }
.back-to-top.visible { opacity:1; pointer-events:all; }
.back-to-top:hover { background:var(--blue-dark); transform:translateY(-3px); }

/* ============================================================
   BLOG CARDS
   ============================================================ */
.blog-card { background:white; border:1px solid var(--border); border-radius:var(--r-lg); overflow:hidden; transition:transform var(--dur),box-shadow var(--dur); height:100%; display:flex; flex-direction:column; cursor:pointer; }
.blog-card:hover { transform:translateY(-5px); box-shadow:var(--shadow-xl); }
.blog-card-emoji { height:130px; background:linear-gradient(135deg,var(--surface),var(--blue-light)); display:flex; align-items:center; justify-content:center; font-size:3rem; }
.blog-card-body { padding:1.5rem; flex:1; display:flex; flex-direction:column; }
.blog-card-cat { font-size:.68rem; font-weight:700; text-transform:uppercase; letter-spacing:.1em; color:var(--blue); margin-bottom:.5rem; }
.blog-card-title { font-family:'Sora',sans-serif; font-size:.95rem; font-weight:700; color:var(--text); line-height:1.4; margin-bottom:.65rem; }
.blog-card-excerpt { font-size:.83rem; color:var(--text-2); line-height:1.65; flex:1; margin-bottom:1rem; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.blog-card-footer { display:flex; justify-content:space-between; align-items:center; border-top:1px solid var(--border); padding-top:.85rem; margin-top:auto; }

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner { position:fixed; bottom:0; left:0; right:0; z-index:9998; background:var(--navy); color:white; padding:1rem 2rem; display:flex; align-items:center; justify-content:space-between; gap:1rem; flex-wrap:wrap; border-top:3px solid var(--blue); box-shadow:0 -4px 20px rgba(0,0,0,.25); animation:slideUpCookie .4s ease; }
@keyframes slideUpCookie { from { transform:translateY(100%); } to { transform:translateY(0); } }
.cookie-banner-text { font-size:.875rem; color:rgba(255,255,255,.78); }
.cookie-banner-text a { color:var(--accent); }
.cookie-btn-accept { background:var(--blue); color:white; border:none; padding:.5rem 1.4rem; border-radius:var(--r-sm); font-weight:600; font-size:.83rem; cursor:pointer; font-family:'DM Sans',sans-serif; transition:all var(--dur); white-space:nowrap; }
.cookie-btn-accept:hover { background:var(--blue-dark); transform:translateY(-1px); }
.cookie-btn-decline { background:transparent; color:rgba(255,255,255,.5); border:none; padding:.5rem 1rem; font-size:.8rem; cursor:pointer; font-family:'DM Sans',sans-serif; transition:color var(--dur); }
.cookie-btn-decline:hover { color:rgba(255,255,255,.85); }

/* ============================================================
   UTILITIES & ANIMATIONS
   ============================================================ */
.text-center { text-align:center; }
.gradient-text { background:linear-gradient(90deg,var(--blue),var(--accent)); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }

.anim-fade-up { opacity:0; transform:translateY(22px); transition:opacity .55s ease, transform .55s ease; }
.anim-fade-up.visible { opacity:1; transform:translateY(0); }
@keyframes fadeSlideUp { from { opacity:0; transform:translateY(28px); } to { opacity:1; transform:translateY(0); } }
.animate-hero  { animation:fadeSlideUp .7s ease forwards; }
.animate-hero-delay  { animation:fadeSlideUp .7s ease .18s forwards; opacity:0; }
.animate-hero-delay2 { animation:fadeSlideUp .7s ease .34s forwards; opacity:0; }

/* MudBlazor overrides */
.mud-appbar { background:transparent !important; box-shadow:none !important; }
.mud-snackbar { font-family:'DM Sans',sans-serif !important; border-radius:var(--r-md) !important; }
.blazor-error-boundary { background:#fef2f2; color:#991b1b; padding:1rem 1rem 1rem 3.7rem; border-radius:var(--r-md); }

/* Contact / Quote forms */
.contact-form-card { background:white; border:1px solid var(--border); border-radius:var(--r-xl); padding:2.5rem; box-shadow:var(--shadow-md); }
.contact-info-card { background:linear-gradient(155deg,var(--navy),var(--blue)); border-radius:var(--r-xl); padding:2.5rem; color:white; height:100%; }
.contact-info-item { display:flex; align-items:flex-start; gap:1rem; margin-bottom:1.75rem; }
.contact-info-icon { width:44px; height:44px; background:rgba(255,255,255,.12); border-radius:var(--r-sm); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.form-field-wrap { margin-bottom:1.2rem; }
.form-label-custom { display:block; font-size:.875rem; font-weight:600; color:var(--text); margin-bottom:.45rem; }
.form-control-custom { width:100%; padding:.72rem 1rem; border:1.5px solid var(--border); border-radius:var(--r-sm); font-family:'DM Sans',sans-serif; font-size:.9rem; color:var(--text); background:white; transition:border-color var(--dur),box-shadow var(--dur); outline:none; }
.form-control-custom:focus { border-color:var(--blue); box-shadow:0 0 0 3px rgba(27,110,194,.12); }
.btn-submit { background:var(--blue); color:white; border:none; padding:.88rem 2.5rem; border-radius:var(--r-md); font-weight:600; font-size:.95rem; cursor:pointer; font-family:'DM Sans',sans-serif; transition:all var(--dur); box-shadow:0 4px 14px rgba(27,110,194,.35); }
.btn-submit:hover { background:var(--blue-dark); transform:translateY(-2px); box-shadow:0 8px 22px rgba(27,110,194,.45); }

/* Pricing buttons on light pages */
.btn-pricing { display:block; width:100%; text-align:center; padding:.85rem; border-radius:var(--r-md); font-weight:600; font-size:.9rem; cursor:pointer; border:none; font-family:'DM Sans',sans-serif; transition:all var(--dur); text-decoration:none; }
.btn-pricing-outline { background:transparent; color:var(--blue); border:2px solid var(--blue) !important; }
.btn-pricing-outline:hover { background:var(--blue); color:white; transform:translateY(-1px); text-decoration:none; }
.btn-pricing-white { background:white; color:var(--blue); }
.btn-pricing-white:hover { background:var(--blue-light); transform:translateY(-1px); text-decoration:none; }

/* Trusted strip scrolling animation */
@keyframes marquee { 0%{transform:translateX(0);} 100%{transform:translateX(-50%);} }

/* ── Suppress focus outlines on headings and non-interactive elements ─────
   Blazor's FocusOnNavigate (removed) and browser auto-focus can draw a
   highlight rectangle around h1/h2 text on page load. This prevents it.
   Interactive elements (buttons, inputs, links) keep their outlines for
   keyboard accessibility. ─────────────────────────────────────────────── */
h1:focus, h2:focus, h3:focus, h4:focus, h5:focus, h6:focus,
p:focus, div:focus, section:focus, article:focus, main:focus {
    outline: none;
}

/* Ensure interactive elements always show focus outline for keyboard users */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 2px;
}
