:root {
    --color-bg: #F9FAFB; /* Medical White */
    --color-surface: rgba(255, 255, 255, 0.7);
    --color-text: #111827; /* Deep Charcoal */
    --color-text-muted: #4B5563;
    --color-accent: #10B981; /* Success Green */
    --color-accent-glow: rgba(16, 185, 129, 0.3);
    
    --glass-bg: rgba(255, 255, 255, 0.6);
    --glass-border: rgba(255, 255, 255, 0.8);
    --glass-shadow: 0 8px 32px 0 rgba(17, 24, 39, 0.05);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* Dark mode override for the 'elite' feel, as charcoal is requested. Actually typically 'elite' clinic is bright white (medical white) with charcoal text, or charcoal body with medical white. Let's do a dark mode base if they asked for 'Deep Charcoal' as a major color, but wait, 'Medical White' could be the base. The prompt says: "Palette of Medical White (#F9FAFB), Deep Charcoal (#111827), and a Success Green accent (#10B981)." A modern clean medical look usually uses Medical White as background, Deep charcoal for text/headings, and glassmorphism. Let's use Medical light theme with dark accents. The background gradient can use slight teal/green/blue meshes. */

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

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, .logo {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

p {
    color: var(--color-text-muted);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* --- Mesh Background --- */
.mesh-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    background: #F9FAFB;
}

.blob {
    position: absolute;
    filter: blur(120px);
    border-radius: 50%;
    opacity: 0.6;
    animation: float 20s infinite ease-in-out alternate;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: rgba(16, 185, 129, 0.15); /* Soft accent */
    top: -100px;
    left: -100px;
}

.shape-2 {
    width: 500px;
    height: 500px;
    background: rgba(17, 24, 39, 0.08); /* Charcoal hint */
    bottom: -100px;
    right: -100px;
    animation-delay: -5s;
}

.shape-3 {
    width: 400px;
    height: 400px;
    background: rgba(16, 185, 129, 0.1);
    top: 40%;
    left: 50%;
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(100px, 50px) scale(1.1); }
}

/* --- Glassmorphism Utils --- */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: var(--glass-shadow);
    padding: 2.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(17, 24, 39, 0.08);
    border-color: var(--color-accent);
}

/* --- Navigation --- */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.5rem 0;
    background: rgba(249, 250, 251, 0.7);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    transition: padding 0.3s ease, box-shadow 0.3s ease;
}

.glass-nav.scrolled {
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    color: var(--color-text);
    text-decoration: none;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--color-accent);
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-body);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: var(--color-text);
    color: var(--color-bg);
    border: 2px solid var(--color-text);
}

.btn-primary:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    transform: translateY(-2px);
}

.glass-glow {
    position: relative;
    overflow: hidden;
}

.glass-glow::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    transform: scale(0.5);
}

.glass-glow:hover {
    box-shadow: 0 0 20px var(--color-accent-glow);
}

.glass-glow:hover::after {
    opacity: 1;
    transform: scale(1);
}

.btn-outline {
    background: transparent;
    color: var(--color-text);
    border: 1px solid rgba(17, 24, 39, 0.2);
}

.btn-outline:hover {
    border-color: var(--color-text);
    background: rgba(17, 24, 39, 0.05);
}

.btn-full {
    width: 100%;
    margin-top: 1.5rem;
}

/* --- Sections --- */
.section {
    padding: 8rem 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.section-desc {
    font-size: 1.2rem;
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 6rem;
}

.hero-content {
    max-width: 900px;
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.highlight {
    background: linear-gradient(135deg, var(--color-text), var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: var(--color-text-muted);
}

/* --- Problem Grid --- */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.card-icon {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-accent);
    opacity: 0.3;
    margin-bottom: 1rem;
    line-height: 1;
}

.problem-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

/* --- Workflow Section --- */
.workflow-stepper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 3rem;
}

.step-line {
    position: absolute;
    left: 1.5rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--color-accent), rgba(16, 185, 129, 0.1));
}

.workflow-step {
    position: relative;
    margin-bottom: 4rem;
}

.workflow-step:last-child {
    margin-bottom: 0;
}

.step-indicator {
    position: absolute;
    left: -3rem;
    top: 0;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 2px solid var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--color-text);
    transform: translateX(-50%);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.2);
    transition: all 0.3s ease;
}

.active-glow {
    background: var(--color-accent);
    color: white;
    box-shadow: 0 0 25px var(--color-accent-glow);
}

.step-content {
    padding: 2rem;
}

.step-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

/* --- Integrations --- */
.integrations-section {
    padding: 4rem 0 8rem;
    text-align: center;
}

.integrations-subtitle {
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    font-weight: 600;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.logo-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 4rem;
    opacity: 0.7;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.logo-cloud:hover {
    filter: grayscale(0%);
}

.partner-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-text);
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    margin: 0 auto;
}

.trust-badge span {
    font-weight: 600;
    font-size: 0.95rem;
}

/* --- Pricing --- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: center;
}

.pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pro-tier {
    transform: scale(1.05);
    border: 2px solid var(--color-accent);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.15);
    z-index: 10;
}

.pro-tier:hover {
    transform: scale(1.05) translateY(-8px);
}

.tier-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-accent);
    color: white;
    padding: 0.2rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.tier-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.tier-price {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    margin-bottom: 0.5rem;
}

.tier-price span {
    font-size: 1rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.tier-desc {
    min-height: 48px;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.tier-features {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.tier-features li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.tier-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: bold;
}

/* --- Footer --- */
.footer {
    background: var(--color-text);
    color: white;
    padding: 6rem 0 2rem;
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer .logo {
    color: white;
    font-size: 2rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.footer p, .footer a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-desc {
    max-width: 300px;
    margin-top: 1rem;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.footer-links a {
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.85rem;
}

/* --- Animations --- */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* --- Responsive --- */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    .pro-tier {
        transform: scale(1);
    }
    .pro-tier:hover {
        transform: translateY(-8px);
    }
}

@media (max-width: 768px) {
    .hero-title { font-size: 3rem; }
    .problem-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .nav-links { display: none; }
}
