:root {
    /* Healthcare High-Tech Luxe Palette */
    --bg-primary: #05050A;
    /* Extremely deep navy/black */
    --bg-secondary: #0A0A12;
    --bg-surface: rgba(15, 15, 25, 0.6);
    --bg-surface-hover: rgba(25, 25, 35, 0.8);
    --text-primary: #FFFFFF;
    --text-secondary: #A0A0B0;
    --accent-primary: #22D3EE;
    /* Cyber Cyan */
    --accent-secondary: #10B981;
    /* Emerald Green */
    --accent-glow: rgba(34, 211, 238, 0.3);
    --border-color: rgba(255, 255, 255, 0.08);

    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-display: 'Outfit', system-ui, -apple-system, sans-serif;

    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-normal: 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Background Advanced Grid (Accelerise Style) */
.bg-advanced-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 80px 80px;
    pointer-events: none;
    mask-image: radial-gradient(circle at center, black 10%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black 10%, transparent 80%);
}

.bg-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.25;
    animation: float 25s infinite ease-in-out;
}

.glow-orb-1 {
    top: -10%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--accent-primary) 0%, transparent 70%);
}

.glow-orb-2 {
    bottom: -20%;
    right: -10%;
    width: 70vw;
    height: 70vw;
    background: radial-gradient(circle, var(--accent-secondary) 0%, transparent 70%);
    animation-delay: -10s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(3%, 5%) scale(1.05);
    }

    66% {
        transform: translate(-3%, 2%) scale(0.95);
    }
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    background: linear-gradient(to right, #FFF, #A0A0B0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2rem;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #FFF;
}

p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 65ch;
}

/* Layout */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 8rem 0;
}

/* Utilities */
.text-gradient {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: rgba(34, 211, 238, 0.1);
    border: 1px solid rgba(34, 211, 238, 0.2);
    color: var(--accent-primary);
    margin-bottom: 2rem;
}

.badge::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-primary);
    box-shadow: 0 0 10px var(--accent-primary);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(34, 211, 238, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(34, 211, 238, 0);
    }
}

/* Navbar */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(8, 8, 18, 0.55);
    backdrop-filter: blur(24px) saturate(160%);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 1px 0 rgba(34, 211, 238, 0.06), 0 8px 32px rgba(0, 0, 0, 0.4);
    transition: var(--transition-normal);
    padding: 1.5rem 0;
}

nav.scrolled {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #FFF;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo svg {
    height: 2rem;
    width: auto;
    filter: drop-shadow(0 0 8px var(--accent-glow));
    transition: var(--transition-normal);
}

.logo:hover svg {
    filter: drop-shadow(0 0 15px var(--accent-primary));
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: var(--transition-normal);
}

.nav-links a:hover {
    color: #FFF;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition-normal);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), #0284C7);
    color: #FFF;
    box-shadow: 0 0 16px var(--accent-glow);
    font-weight: 600;
}

.btn-primary:hover {
    box-shadow: 0 0 28px rgba(34, 211, 238, 0.6);
    transform: translateY(-2px);
    background: linear-gradient(135deg, #38e8ff, #0369a1);
}

.btn-glow {
    background: linear-gradient(135deg, var(--accent-primary), #0284C7);
    color: #FFF;
    box-shadow: 0 0 20px var(--accent-glow);
}

.btn-glow:hover {
    box-shadow: 0 0 30px rgba(34, 211, 238, 0.5);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 10rem;
    position: relative;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.hero-text {
    flex: 1;
    max-width: 800px;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.hero-logo-anim {
    width: 100%;
    max-width: 420px;
    animation: float-logo 8s ease-in-out infinite;
    filter: drop-shadow(0 0 40px var(--accent-glow));
}

@keyframes float-logo {

    0%,
    100% {
        transform: translateY(0) rotateX(0deg) rotateY(0deg);
        filter: drop-shadow(0 0 40px var(--accent-glow));
    }

    25% {
        transform: translateY(-15px) rotateX(5deg) rotateY(10deg) scale(1.02);
        filter: drop-shadow(0 0 80px rgba(34, 211, 238, 0.6));
    }

    50% {
        transform: translateY(-20px) rotateX(0deg) rotateY(0deg);
        filter: drop-shadow(0 0 40px var(--accent-glow));
    }

    75% {
        transform: translateY(-15px) rotateX(-5deg) rotateY(-10deg) scale(1.02);
        filter: drop-shadow(0 0 80px rgba(16, 185, 129, 0.6));
    }
}

.hero-stats {
    margin-top: 4rem;
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    backdrop-filter: blur(10px);
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-value {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

/* Integrations Marquee */
.integrations {
    padding: 3rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.01);
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.integrations::before,
.integrations::after {
    content: '';
    position: absolute;
    top: 0;
    width: 250px;
    height: 100%;
    z-index: 2;
}

.integrations::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-primary), transparent);
}

.integrations::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-primary), transparent);
}

.integration-track {
    display: inline-block;
    animation: scroll 30s linear infinite;
}

.integration-track.primary {
    display: inline-flex;
    align-items: center;
    gap: 4rem;
    padding: 0 2rem;
}

.integration-logo {
    color: var(--text-secondary);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.5rem;
    opacity: 0.5;
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.integration-logo:hover {
    opacity: 1;
    color: #FFF;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Bento Box Features Section - Accelerise Style */
.bento-features {
    position: relative;
    z-index: 2;
}

.bento-header {
    text-align: center;
    margin-bottom: 5rem;
}

.bento-header p {
    margin: 0 auto;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 1.5rem;
}

/* Magical Spotlight Card */
.bento-card {
    background: var(--bg-surface);
    border-radius: 1.5rem;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

/* The hover glow effect */
.bento-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 1.5rem;
    padding: 2px;
    background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
            rgba(34, 211, 238, 0.15),
            transparent 40%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.bento-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
            rgba(34, 211, 238, 0.05),
            transparent 40%);
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.bento-card:hover::before,
.bento-card:hover::after {
    opacity: 1;
}

.bento-card:hover {
    transform: translateY(-2px);
    border-color: rgba(34, 211, 238, 0.3);
}

.bento-content {
    position: relative;
    z-index: 2;
}

.bento-card h3 {
    margin-bottom: 1rem;
    font-size: 1.75rem;
}

.bento-card p {
    font-size: 1.125rem;
}

.bento-large {
    grid-column: span 2;
}

/* Faux UI inside Bento Boxes */
.faux-ui {
    margin-bottom: 2rem;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 1rem;
}

.faux-ui-header {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.faux-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #333;
}

.faux-dot:nth-child(1) {
    background: #FF5F56;
}

.faux-dot:nth-child(2) {
    background: #FFBD2E;
}

.faux-dot:nth-child(3) {
    background: #27C93F;
}

.faux-line {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin-bottom: 0.75rem;
    width: 100%;
}

.faux-line.short {
    width: 60%;
}

.faux-line.glow {
    background: var(--accent-primary);
    width: 80%;
    box-shadow: 0 0 10px var(--accent-glow);
}


/* Booking Section (Calendly) */
.booking-section {
    background-color: #0D0D12;
    padding: 8rem 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.booking-container {
    max-width: 900px;
    margin: 0 auto;
}

.booking-header {
    margin-bottom: 4rem;
}

.booking-label {
    font-family: monospace;
    color: #C9A84C;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.booking-title {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 600;
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: #FFF;
    margin-bottom: 1.5rem;
}

.booking-desc {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.calendly-wrapper {
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid #C9A84C33;
    border-radius: 2rem;
    box-shadow: 0 0 60px #C9A84C11;
    overflow: hidden;
    background-color: #0D0D12;
}

/* Footer */
footer {
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-normal);
}

.footer-links a:hover {
    color: #FFF;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-slow);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}



/* ============================================================
   FLOWNOMY — Animation Styles (add to bottom of styles.css)
   ============================================================ */

*, *::before, *::after { cursor: none !important; }

.cursor-dot {
  position: fixed; top: -4px; left: -4px;
  width: 8px; height: 8px;
  background: #22D3EE; border-radius: 50%;
  pointer-events: none; z-index: 99999;
  box-shadow: 0 0 10px #22D3EE, 0 0 20px rgba(34,211,238,0.5);
}

.cursor-ring {
  position: fixed; top: -20px; left: -20px;
  width: 40px; height: 40px;
  border: 1.5px solid rgba(34, 211, 238, 0.6);
  border-radius: 50%; pointer-events: none; z-index: 99998;
  transition: width 0.3s ease, height 0.3s ease, top 0.3s ease, left 0.3s ease, border-color 0.3s ease;
}

.cursor-ring.cursor-hover {
  width: 60px; height: 60px; top: -30px; left: -30px;
  border-color: rgba(34, 211, 238, 0.9);
  background: rgba(34, 211, 238, 0.05);
}

@media (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
  *, *::before, *::after { cursor: auto !important; }
}

.neural-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 0; opacity: 0.6;
}

.hero { position: relative; overflow: hidden; }
.hero .container { position: relative; z-index: 2; }

.fade-up {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

#navbar {
  transition: background 0.4s ease, backdrop-filter 0.4s ease,
              box-shadow 0.4s ease, transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
#navbar.scrolled {
  background: rgba(5, 5, 10, 0.85) !important;
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(34, 211, 238, 0.15), 0 8px 32px rgba(0,0,0,0.4);
}
#navbar.hidden { transform: translateY(-100%); }

.scramble-char { color: #22D3EE; opacity: 0.6; }

.bento-card { position: relative; overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease; }

.bento-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(34, 211, 238, 0.08), transparent 40%);
  opacity: 0; transition: opacity 0.4s ease;
  pointer-events: none; z-index: 1; border-radius: inherit;
}
.bento-card:hover::before { opacity: 1; }
.bento-card:hover { transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(34,211,238,0.2); }
.bento-card .bento-content { position: relative; z-index: 2; }

.btn-glow { position: relative;
  transition: transform 0.1s ease, box-shadow 0.3s ease !important;
  will-change: transform; }
.btn-glow::after {
  content: ''; position: absolute; inset: -3px; border-radius: inherit;
  background: linear-gradient(135deg, #22D3EE, #10B981);
  opacity: 0; z-index: -1; transition: opacity 0.3s ease; filter: blur(12px); }
.btn-glow:hover::after { opacity: 0.6; animation: glow-pulse 2s ease-in-out infinite; }

@keyframes glow-pulse {
  0%, 100% { opacity: 0.4; filter: blur(12px); }
  50% { opacity: 0.8; filter: blur(16px); }
}

details { transition: background 0.3s ease; }
details[open] { background: rgba(34, 211, 238, 0.04) !important; border-color: rgba(34, 211, 238, 0.2) !important; }
details summary { transition: color 0.2s ease; user-select: none; }
details summary::-webkit-details-marker { display: none; }
details summary::marker { display: none; }
details[open] summary { color: #22D3EE !important; }
details[open] summary span { transform: rotate(45deg); display: inline-block; transition: transform 0.3s ease; }

@keyframes glitch {
  0%, 100% { clip-path: none; transform: none; }
  20% { clip-path: inset(20% 0 30% 0); transform: translateX(-3px); }
  40% { clip-path: inset(60% 0 10% 0); transform: translateX(3px); }
  60% { clip-path: none; transform: none; }
}
.logo.glitch svg { animation: glitch 0.2s steps(2) forwards; }

section { position: relative; }
section::after {
  content: ''; position: absolute; top: 0; left: -100%;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34,211,238,0.4), transparent);
  transition: left 0.8s cubic-bezier(0.4, 0, 0.2, 1); pointer-events: none;
}
section.section-active::after { left: 100%; }

.integrations { position: relative; }
.integrations::before, .integrations::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none;
}
.integrations::before { left: 0; background: linear-gradient(90deg, var(--bg-primary, #05050A), transparent); }
.integrations::after { right: 0; background: linear-gradient(-90deg, var(--bg-primary, #05050A), transparent); }

.booking-label { position: relative; padding-left: 1.5rem; }
.booking-label::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 8px; height: 8px; background: #22D3EE; border-radius: 50%;
  animation: live-pulse 2s ease-in-out infinite;
}
@keyframes live-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.6); }
  50% { box-shadow: 0 0 0 8px rgba(34, 211, 238, 0); }
}

[style*="grid-template-columns"] > div {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}
[style*="grid-template-columns"] > div:hover {
  transform: translateY(-6px);
  border-color: rgba(34, 211, 238, 0.3) !important;
  box-shadow: 0 16px 40px rgba(0,0,0,0.3), 0 0 0 1px rgba(34,211,238,0.15);
}

#how-it-works [style*="flex-direction: column"] { position: relative; }
#how-it-works [style*="flex-direction: column"]::before {
  content: ''; position: absolute; left: 23px; top: 48px; bottom: 48px;
  width: 1px; background: linear-gradient(180deg, rgba(34,211,238,0.3), rgba(16,185,129,0.3));
}

/* ============================================================
   FLOWNOMY — Contextual Animation Additions
   ============================================================ */

.ecg-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
}

.call-pulse {
  animation: call-live 1.2s ease-in-out infinite;
}
@keyframes call-live {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0.6); }
  50% { box-shadow: 0 0 0 6px rgba(16,185,129,0); }
}

@keyframes data-flow {
  0% { left: -2%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { left: 102%; opacity: 0; }
}

/* ============================================
   SECTION RHYTHM & DIVIDERS
   ============================================ */
#problem { background: var(--bg-primary); }
#features { background: var(--bg-secondary); }
#pricing { background: #070710; }
#how-it-works { background: var(--bg-secondary); }
#faq { background: var(--bg-primary); }
#contact { background: #070710; }

#features::before,
#pricing::before,
#how-it-works::before,
#faq::before,
#contact::before {
    content: '';
    display: block;
    height: 80px;
    margin-top: -80px;
    background: linear-gradient(to bottom, transparent, inherit);
    pointer-events: none;
}

/* ============================================
   STAT COUNTER CARDS — PULSE ACCENT
   ============================================ */
.stat-card {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.stat-card::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #22D3EE, #10B981);
    border-radius: 4px 0 0 4px;
    opacity: 0;
    transition: opacity 0.5s ease;
}
.stat-card.is-visible::before { opacity: 1; }
.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(34, 211, 238, 0.08);
}
.stat-number {
    display: inline-block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #22D3EE;
    margin-bottom: 0.5rem;
    font-variant-numeric: tabular-nums;
}

/* ============================================
   BENTO CARDS — IMPROVED HOVER
   ============================================ */
.bento-card {
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
                box-shadow 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
}
.bento-card:hover {
    box-shadow: 0 24px 64px rgba(34, 211, 238, 0.1),
                0 0 0 1px rgba(34, 211, 238, 0.15);
}

/* ============================================
   HOW IT WORKS — ANIMATED TIMELINE LINE
   ============================================ */
.hiw-timeline { position: relative; }
.hiw-timeline::before {
    content: '';
    position: absolute;
    left: 23px; top: 0;
    width: 2px; height: 0%;
    background: linear-gradient(180deg, #22D3EE, #10B981, transparent);
    transition: height 1.2s cubic-bezier(0.23, 1, 0.32, 1);
    border-radius: 2px;
}
.hiw-timeline.is-visible::before { height: 100%; }
.hiw-step { position: relative; transition: transform 0.3s ease; }
.hiw-step:hover { transform: translateX(8px); }
.hiw-step-number {
    position: relative; z-index: 2;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}
.hiw-step:hover .hiw-step-number {
    background: rgba(34, 211, 238, 0.2) !important;
    box-shadow: 0 0 0 6px rgba(34, 211, 238, 0.08);
}

/* ============================================
   FAQ — SMOOTH ACCORDION ANIMATION
   ============================================ */
.faq-item { transition: border-color 0.3s ease, background 0.3s ease; }
.faq-item[open] {
    background: rgba(34, 211, 238, 0.03) !important;
    border-color: rgba(34, 211, 238, 0.2) !important;
}
.faq-item summary { transition: color 0.2s ease; }
.faq-item[open] summary { color: #22D3EE !important; }
.faq-item[open] summary span {
    transform: rotate(45deg);
    display: inline-block;
    transition: transform 0.3s ease;
}
.faq-item summary span { display: inline-block; transition: transform 0.3s ease; }
.faq-answer {
    overflow: hidden;
    animation: faqOpen 0.35s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}
@keyframes faqOpen {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============================================
   CTA BUTTON — SHIMMER + PULSE
   ============================================ */
.btn-glow { position: relative; overflow: hidden; }
.btn-glow::after {
    content: '';
    position: absolute;
    top: -50%; left: -75%;
    width: 50%; height: 200%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.15), transparent);
    transform: skewX(-20deg);
    animation: shimmer 3s ease-in-out infinite;
}
@keyframes shimmer {
    0%   { left: -75%; }
    50%  { left: 125%; }
    100% { left: 125%; }
}
.btn-pulse { animation: btnPulse 2.5s ease-in-out infinite; }
@keyframes btnPulse {
    0%   { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.4); }
    70%  { box-shadow: 0 0 0 14px rgba(34, 211, 238, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0); }
}

/* ============================================
   PRICING CARDS — HOVER LIFT
   ============================================ */
.pricing-card {
    transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1),
                box-shadow 0.35s cubic-bezier(0.23, 1, 0.32, 1),
                border-color 0.3s ease;
}
.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.4);
}
.pricing-card.featured:hover {
    box-shadow: 0 32px 64px rgba(34, 211, 238, 0.15);
    border-color: rgba(34, 211, 238, 0.5) !important;
}

/* ============================================
   COMPLIANCE BADGE ROW — FADE IN STAGGER
   ============================================ */
.trust-badge {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.trust-badge.is-visible { opacity: 1; transform: translateY(0); }

/* ============================================
   SPECIALTY TAGS — HOVER GLOW
   ============================================ */
.specialty-tag {
    transition: background 0.25s ease, border-color 0.25s ease,
                color 0.25s ease, transform 0.25s ease;
    cursor: default;
}
.specialty-tag:hover {
    background: rgba(34, 211, 238, 0.08) !important;
    border-color: rgba(34, 211, 238, 0.3) !important;
    color: #E2E8F0 !important;
    transform: translateY(-2px);
}

/* ============================================
   SECTION BADGES — SUBTLE BOUNCE IN
   ============================================ */
.badge.fade-up.is-visible {
    animation: badgeBounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
@keyframes badgeBounce {
    from { opacity: 0; transform: scale(0.8) translateY(10px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* ============================================
   HERO BADGE — PULSE RING
   ============================================ */
.hero .badge { position: relative; }
.hero .badge::before {
    content: '';
    position: absolute; inset: -6px;
    border-radius: inherit;
    border: 1px solid rgba(34, 211, 238, 0.3);
    animation: heroBadgePulse 3s ease-in-out infinite;
}
@keyframes heroBadgePulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50%       { opacity: 0; transform: scale(1.08); }
}


/* ============================================
   SPECIALTY GRID CELLS
   ============================================ */
.spec-cell {
    transition: background 0.2s ease;
}
.spec-cell:hover {
    background: rgba(34, 211, 238, 0.03);
}
.spec-cell:hover > div:first-child {
    color: #22D3EE;
}

/* ============================================================
   HAMBURGER BUTTON
   ============================================================ */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 9999;
    flex-shrink: 0;
}
.nav-hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}
.nav-hamburger.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.is-open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.nav-hamburger.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   TABLET — 1024px
   ============================================================ */
@media (max-width: 1024px) {

    /* Show hamburger on tablets too */
    .nav-hamburger {
        display: flex;
        z-index: 9999;
        position: relative;
    }

    /* Section padding */
    section {
        padding: 5rem 0 !important;
    }

    /* Bento: 2 columns */
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .bento-large {
        grid-column: span 2;
    }
    .bento-card {
        padding: 2rem;
    }

    /* Stats: keep 3 columns but tighten */
    #statsGrid {
        gap: 1rem !important;
    }
    .stat-card {
        padding: 1.5rem !important;
    }
    .stat-number {
        font-size: 2rem;
    }

    /* Pricing: stack to 1 column on tablet */
    #pricingGrid {
        grid-template-columns: 1fr !important;
        max-width: 500px;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* Specialties: 2 columns */
    #specialtiesGrid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Trust bar dividers: hide */
    .trust-bar-divider {
        display: none;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        align-items: flex-start;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        align-items: center;
    }
}

/* ============================================================
   MOBILE — 768px
   ============================================================ */
@media (max-width: 768px) {

    /* ── Global spacing ── */
    section {
        padding: 4rem 0 !important;
    }
    .container {
        padding: 0 1.25rem;
    }

    /* ── Typography ── */
    h1 {
        font-size: clamp(2rem, 9vw, 2.8rem);
        line-height: 1.15;
        margin-bottom: 1.25rem;
    }
    h2 {
        font-size: clamp(1.6rem, 7vw, 2.2rem) !important;
        line-height: 1.2;
    }
    h3 {
        font-size: 1.15rem;
    }
    p {
        font-size: 1rem;
    }

    /* ── Nav: hide desktop links, show hamburger ── */
    .nav-hamburger {
        display: flex;
        z-index: 9999;
        position: relative;
    }
    .nav-links {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100vw;
        height: 100vh;
        background: #05050A;
        padding: 5.5rem 1.5rem 2rem;
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1);
        z-index: 9998;
        overflow-y: auto;
    }
    .nav-links.nav-open {
        transform: translateX(0);
    }
    .nav-links a {
        display: block;
        font-size: 1.2rem;
        font-weight: 500;
        color: #E2E8F0;
        padding: 1rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
        text-decoration: none;
    }
    .nav-links a:last-child {
        border-bottom: none;
    }
    .nav-links .nav-cta {
        display: flex;
        justify-content: center;
        margin-top: 1.5rem;
        padding: 0.875rem 1.5rem !important;
        font-size: 1rem !important;
        border-radius: 0.5rem;
        border-bottom: none;
    }

    /* ── Hero ── */
    /* Prevent badge from being cut off under navbar */
    .hero {
        padding-top: 6rem !important;
        min-height: auto;
        padding-bottom: 3rem;
    }
    .badge {
        font-size: 0.7rem;
        padding: 0.4rem 0.75rem;
        white-space: normal;
        text-align: center;
    }
    .hero-content {
        gap: 1.5rem;
    }
    .hero-text {
        max-width: 100%;
    }

    /* Left-align body text on mobile — center alignment is unreadable at this length */
    .hero-content {
        text-align: left;
    }
    .hero p {
        text-align: left;
        font-size: 0.95rem !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .hero .badge {
        margin-left: 0;
        margin-right: auto;
    }
    .hero div[style*="text-align: center"],
    .hero div[style*="text-align:center"] {
        text-align: left !important;
    }

    /* Stack hero CTA buttons vertically */
    .hero .btn-glow {
        width: 100%;
        justify-content: center;
    }
    .hero div[style*="gap: 1rem"] {
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100%;
    }
    .hero div[style*="gap: 1rem"] a[href="#features"] {
        text-align: center;
    }

    /* HIPAA trust line above H1 */
    .hero div[style*="0.8rem"][style*="A0A0B0"] {
        font-size: 0.72rem !important;
        white-space: normal !important;
        text-align: left !important;
    }

    /* ── Trust bar: hide vertical dividers, wrap badges ── */
    .trust-bar-divider {
        display: none;
    }

    /* ── Stats grid: single column ── */
    #statsGrid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    .stat-card {
        padding: 1.5rem !important;
    }
    .stat-number {
        font-size: 2rem;
    }

    /* ── Bento grid: single column ── */
    .bento-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .bento-large {
        grid-column: span 1;
    }
    .bento-card {
        padding: 1.5rem;
    }
    .bento-card h3 {
        font-size: 1.25rem;
    }
    .bento-card p {
        font-size: 0.95rem;
    }
    .bento-header {
        margin-bottom: 2.5rem;
    }

    /* ── Pricing grid: single column ── */
    #pricingGrid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    .pricing-card {
        padding: 1.75rem 1.5rem !important;
    }

    /* ── Specialties grid: 2 columns on mobile ── */
    #specialtiesGrid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .spec-cell {
        padding: 1.25rem 1rem !important;
    }

    /* ── How It Works timeline ── */
    .hiw-timeline::before {
        left: 19px;
    }
    .hiw-step {
        gap: 1rem !important;
    }
    .hiw-step-number {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        font-size: 1rem !important;
    }

    /* ── FAQ ── */
    .faq-item {
        padding: 1.25rem 1rem !important;
    }
    .faq-item summary {
        font-size: 0.9rem !important;
        gap: 0.75rem;
    }

    /* ── Booking section ── */
    .booking-section {
        padding: 4rem 0 !important;
    }
    .booking-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem) !important;
    }
    .booking-desc {
        font-size: 1rem !important;
    }
    .booking-header {
        margin-bottom: 2rem;
    }
    .calendly-wrapper {
        border-radius: 1rem;
    }

    /* ── Footer ── */
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
        align-items: center;
    }
    footer {
        padding: 3rem 0 1.5rem;
    }
}

/* ============================================================
   SMALL PHONES — 480px
   ============================================================ */
@media (max-width: 480px) {
    h1 {
        font-size: clamp(1.75rem, 10vw, 2.2rem);
    }
    #specialtiesGrid {
        grid-template-columns: 1fr !important;
    }
    .bento-card {
        padding: 1.25rem;
    }
    .pricing-card {
        padding: 1.5rem 1.25rem !important;
    }
    .faq-item {
        padding: 1rem !important;
    }
    .stat-card {
        padding: 1.25rem !important;
    }
}

/* END OF ADDED STYLES */