/* ===================================
   CLINICAL DESIGN SYSTEM — NEON DARK
   Electric / High-Contrast Night Mode
   =================================== */

/* === DESIGN TOKENS === */
:root {
    --neon:              #00C2FF;
    --neon-bright:       #38D4FF;
    --neon-dim:          #0096CC;
    --neon-glow:         rgba(0, 194, 255, 0.55);
    --neon-glow-soft:    rgba(0, 194, 255, 0.18);
    --purple:            #7B3FFF;
    --purple-glow:       rgba(123, 63, 255, 0.40);

    --clinical-navy:           #00C2FF;
    --clinical-navy-light:     #38D4FF;
    --clinical-blue:           #00C2FF;
    --clinical-blue-hover:     #38D4FF;
    --clinical-white:          #0D0D14;
    --clinical-grey-light:     #13131E;
    --clinical-grey-medium:    #1E1E2E;
    --clinical-grey-dark:      #5A6080;
    --clinical-text-primary:   #FFFFFF;
    --clinical-text-secondary: #8A94B8;

    --gradient-navy:    linear-gradient(135deg, #0D0D14 0%, #13131E 100%);
    --gradient-blue:    linear-gradient(135deg, #00C2FF 0%, #7B3FFF 100%);
    --gradient-hero:    radial-gradient(ellipse at 65% 40%, rgba(0,194,255,0.10) 0%, transparent 55%),
                        radial-gradient(ellipse at 20% 80%, rgba(123,63,255,0.07) 0%, transparent 50%),
                        linear-gradient(180deg, #060610 0%, #0D0D14 100%);
    --gradient-cta:     linear-gradient(135deg, #060610 0%, #0D0D1E 50%, #060610 100%);

    --shadow-xs:  0 1px 4px rgba(0,0,0,0.60);
    --shadow-sm:  0 2px 10px rgba(0,0,0,0.70);
    --shadow-md:  0 6px 24px rgba(0,0,0,0.78), 0 0 0 1px rgba(0,194,255,0.06);
    --shadow-lg:  0 12px 40px rgba(0,0,0,0.85), 0 0 0 1px rgba(0,194,255,0.08);
    --shadow-xl:  0 20px 60px rgba(0,0,0,0.90), 0 0 0 1px rgba(0,194,255,0.10);
    --glow-neon:  0 0 20px rgba(0,194,255,0.50), 0 0 60px rgba(0,194,255,0.22);
    --glow-btn:   0 0 24px rgba(0,194,255,0.55), 0 4px 16px rgba(0,0,0,0.60);

    --r-sm:   6px;
    --r-md:   10px;
    --r-lg:   14px;
    --r-xl:   20px;
    --r-pill: 100px;

    --transition-fast: all 0.15s ease;
    --transition-base: all 0.22s ease;
    --transition-slow: all 0.32s ease;
}

/* === RESET & BASE === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', 'Helvetica Neue', Arial, sans-serif;
    background: #060610;
    color: var(--clinical-text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: 72px;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* === NAVIGATION === */
.clinical-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 1px 0 rgba(0,0,0,0.05);
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #ffffff;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
    filter: brightness(1.15);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--clinical-text-secondary);
    font-size: 15px;
    font-weight: 500;
    padding: 7px 13px;
    border-radius: var(--r-sm);
    transition: var(--transition-fast);
    cursor: pointer;
}

.nav-links a:hover {
    color: var(--neon);
    background: rgba(0,194,255,0.08);
    text-shadow: 0 0 12px rgba(0,194,255,0.50);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-login {
    text-decoration: none;
    color: var(--clinical-text-secondary);
    font-size: 15px;
    font-weight: 500;
    padding: 7px 13px;
    border-radius: var(--r-sm);
    transition: var(--transition-fast);
    cursor: pointer;
}

.nav-login:hover {
    color: var(--neon);
    background: rgba(0,194,255,0.08);
}

.nav-btn-primary {
    background: var(--neon);
    color: #060610;
    padding: 9px 20px;
    border-radius: var(--r-md);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: var(--transition-base);
    border: 1.5px solid var(--neon);
    white-space: nowrap;
    letter-spacing: 0.01em;
    cursor: pointer;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 0 20px rgba(0,194,255,0.40), 0 2px 8px rgba(0,0,0,0.40);
}

.nav-btn-primary:hover {
    background: var(--neon-bright);
    border-color: var(--neon-bright);
    color: #060610;
    box-shadow: 0 0 32px rgba(0,194,255,0.65), 0 4px 12px rgba(0,0,0,0.50);
    transform: translateY(-1px);
}

/* Mobile hamburger */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    border-radius: var(--r-sm);
    border: none;
    background: none;
    transition: var(--transition-fast);
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
}

.nav-hamburger:hover { background: rgba(0,194,255,0.08); }

.nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--neon);
    border-radius: 2px;
    transition: var(--transition-base);
    box-shadow: 0 0 6px rgba(0,194,255,0.60);
}

.nav-hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.nav-mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: #0A0A16;
    border-bottom: 1px solid rgba(0,194,255,0.18);
    padding: 12px 20px 24px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.80);
    z-index: 999;
    animation: slideDown 0.2s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.nav-mobile-menu.open { display: block; }

.nav-mobile-links {
    list-style: none;
    margin-bottom: 16px;
}

.nav-mobile-links li { border-bottom: 1px solid rgba(0,194,255,0.08); }

.nav-mobile-links a {
    display: block;
    padding: 14px 8px;
    text-decoration: none;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 500;
    transition: var(--transition-fast);
}

.nav-mobile-links a:hover {
    color: var(--neon);
    text-shadow: 0 0 10px rgba(0,194,255,0.50);
}

.nav-mobile-cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 4px 0;
}

.nav-mobile-login {
    display: block;
    text-align: center;
    padding: 13px;
    border: 1.5px solid rgba(0,194,255,0.30);
    border-radius: var(--r-md);
    text-decoration: none;
    color: var(--neon);
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition-fast);
    cursor: pointer;
}

.nav-mobile-login:hover {
    border-color: var(--neon);
    box-shadow: 0 0 14px rgba(0,194,255,0.30);
}

/* === CONTAINER === */
.clinical-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* === BUTTONS === */
.btn-clinical-primary {
    background: transparent;
    color: var(--neon);
    padding: 14px 28px;
    border-radius: var(--r-md);
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    display: inline-block;
    transition: var(--transition-base);
    border: 1.5px solid var(--neon);
    letter-spacing: 0.02em;
    cursor: pointer;
    min-height: 44px;
    text-transform: uppercase;
    box-shadow: 0 0 14px rgba(0,194,255,0.22), inset 0 0 14px rgba(0,194,255,0.04);
}

.btn-clinical-primary:hover {
    background: rgba(0,194,255,0.12);
    border-color: var(--neon-bright);
    color: var(--neon-bright);
    transform: translateY(-2px);
    box-shadow: var(--glow-btn);
}

.btn-clinical-primary.large {
    padding: 18px 44px;
    font-size: 17px;
    border-radius: var(--r-lg);
}

.btn-clinical-secondary {
    background: transparent;
    color: var(--clinical-text-secondary);
    padding: 14px 28px;
    border-radius: var(--r-md);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    display: inline-block;
    transition: var(--transition-base);
    border: 1.5px solid rgba(255,255,255,0.14);
    cursor: pointer;
    min-height: 44px;
}

.btn-clinical-secondary:hover {
    border-color: rgba(255,255,255,0.35);
    color: #ffffff;
    background: rgba(255,255,255,0.05);
}

/* === HERO SECTION === */
.clinical-hero {
    background: var(--gradient-hero);
    padding: 100px 0 80px;
    min-height: 88vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Scan-line texture */
.clinical-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0,194,255,0.015) 2px,
        rgba(0,194,255,0.015) 4px
    );
    pointer-events: none;
    z-index: 0;
}

.clinical-hero::after {
    content: '';
    position: absolute;
    top: 20%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(0,194,255,0.08) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content { position: relative; z-index: 1; }

/* Hero badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(0, 194, 255, 0.08);
    border: 1px solid rgba(0, 194, 255, 0.35);
    color: var(--neon);
    padding: 6px 14px 6px 10px;
    border-radius: var(--r-pill);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 22px;
    letter-spacing: 0.04em;
    cursor: default;
    text-transform: uppercase;
    box-shadow: 0 0 12px rgba(0,194,255,0.18);
}

.hero-badge svg { flex-shrink: 0; }

.hero-heading {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.1;
    color: #FFFFFF;
    margin-bottom: 20px;
    letter-spacing: -0.025em;
    /* Gradient text for heading */
    background: linear-gradient(135deg, #FFFFFF 40%, var(--neon) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subheading {
    font-size: 19px;
    color: var(--clinical-text-secondary);
    margin-bottom: 36px;
    line-height: 1.65;
    font-weight: 400;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--clinical-text-secondary);
    font-size: 13.5px;
    font-weight: 500;
}

.hero-trust svg { color: var(--neon); flex-shrink: 0; }

/* Hero visual / demo card */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.demo-card {
    background: #0F0F1A;
    border: 1px solid rgba(0,194,255,0.25);
    border-radius: var(--r-xl);
    padding: 28px;
    width: 100%;
    max-width: 460px;
    box-shadow: 0 0 0 1px rgba(0,194,255,0.08), 0 20px 60px rgba(0,0,0,0.80), 0 0 40px rgba(0,194,255,0.08);
}

.demo-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(0,194,255,0.12);
}

.demo-indicator {
    width: 8px;
    height: 8px;
    background: #00FF88;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(0,255,136,0.5), 0 0 8px rgba(0,255,136,0.6);
    animation: pulse-green 2s ease-in-out infinite;
}

@keyframes pulse-green {
    0%,100% { box-shadow: 0 0 0 0 rgba(0,255,136,0.5), 0 0 8px rgba(0,255,136,0.4); }
    50%      { box-shadow: 0 0 0 6px rgba(0,255,136,0), 0 0 14px rgba(0,255,136,0.6); }
}

.demo-header span {
    font-weight: 600;
    color: #FFFFFF;
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.demo-audio {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: rgba(0,194,255,0.06);
    border: 1px solid rgba(0,194,255,0.14);
    border-radius: var(--r-lg);
    margin-bottom: 16px;
}

.audio-icon { color: var(--neon); flex-shrink: 0; filter: drop-shadow(0 0 6px rgba(0,194,255,0.60)); }

.audio-waveform {
    display: flex;
    align-items: center;
    gap: 3px;
    flex: 1;
    height: 34px;
}

.wave-bar {
    flex: 1;
    background: linear-gradient(180deg, var(--neon) 0%, rgba(0,194,255,0.25) 100%);
    border-radius: 3px;
    height: 22%;
    animation: wave-simple 1.2s ease-in-out infinite;
    box-shadow: 0 0 4px rgba(0,194,255,0.40);
}

.wave-bar:nth-child(1) { animation-delay: 0s;     }
.wave-bar:nth-child(2) { animation-delay: 0.15s;  }
.wave-bar:nth-child(3) { animation-delay: 0.3s;   }
.wave-bar:nth-child(4) { animation-delay: 0.45s;  }
.wave-bar:nth-child(5) { animation-delay: 0.6s;   }
.wave-bar:nth-child(6) { animation-delay: 0.75s;  }
.wave-bar:nth-child(7) { animation-delay: 0.9s;   }
.wave-bar:nth-child(8) { animation-delay: 1.05s;  }

@keyframes wave-simple {
    0%,100% { height: 22%; }
    50%      { height: 88%; }
}

.demo-arrow { text-align: center; color: var(--neon); margin-bottom: 20px; opacity: 0.50; }

.demo-document {
    padding: 20px;
    background: rgba(0,194,255,0.04);
    border: 1px solid rgba(0,194,255,0.10);
    border-radius: var(--r-md);
}

.doc-line {
    height: 7px;
    background: rgba(0,194,255,0.18);
    border-radius: 4px;
    margin-bottom: 10px;
    opacity: 0;
    transform: translateX(-8px);
    animation: slideIn 0.4s ease forwards;
}
.doc-line:nth-child(1) { animation-delay: 0.3s;  }
.doc-line:nth-child(2) { animation-delay: 0.55s; }
.doc-line:nth-child(3) { animation-delay: 0.8s;  }
.doc-line:nth-child(4) { animation-delay: 1.05s; }
.doc-line.short  { width: 55%; }
.doc-line.medium { width: 78%; }
.doc-line:last-child { margin-bottom: 0; }

@keyframes slideIn { to { opacity: 1; transform: translateX(0); } }

/* Stats bar (homepage) */
.clinical-stats {
    background: #030308;
    padding: 20px 0;
    border-top: 1px solid rgba(0,194,255,0.20);
    border-bottom: 1px solid rgba(0,194,255,0.20);
    box-shadow: 0 0 40px rgba(0,194,255,0.05) inset;
}

.stats-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.stat-bar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 32px;
    border-right: 1px solid rgba(0,194,255,0.12);
    color: var(--clinical-text-secondary);
    font-size: 14px;
    font-weight: 500;
}

.stat-bar-item:last-child { border-right: none; }
.stat-bar-item svg { color: var(--neon); flex-shrink: 0; filter: drop-shadow(0 0 4px rgba(0,194,255,0.50)); }

.stat-bar-item strong {
    color: #FFFFFF;
    font-weight: 700;
}

/* === FEATURES SECTION === */
.clinical-features {
    background: #0A0A14;
    padding: 88px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-card {
    background: #0F0F1A;
    padding: 28px;
    border-radius: var(--r-lg);
    border: 1px solid rgba(0,194,255,0.14);
    transition: var(--transition-base);
    cursor: default;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon), transparent);
    opacity: 0;
    transition: var(--transition-base);
}

.feature-card:hover {
    border-color: rgba(0,194,255,0.40);
    box-shadow: 0 0 30px rgba(0,194,255,0.12), 0 12px 40px rgba(0,0,0,0.70);
    transform: translateY(-4px);
}

.feature-card:hover::before { opacity: 1; }

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(0,194,255,0.10);
    border: 1px solid rgba(0,194,255,0.30);
    color: var(--neon);
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    box-shadow: 0 0 16px rgba(0,194,255,0.22);
    filter: drop-shadow(0 0 4px rgba(0,194,255,0.40));
}

.feature-title {
    font-size: 16px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 12px;
    line-height: 1.35;
}

.feature-list { list-style: none; padding: 0; }

.feature-list li {
    color: var(--clinical-text-secondary);
    font-size: 14px;
    margin-bottom: 7px;
    padding-left: 16px;
    position: relative;
    line-height: 1.5;
}

.feature-list li::before {
    content: "·";
    position: absolute;
    left: 3px;
    color: var(--neon);
    font-size: 20px;
    line-height: 1.1;
    font-weight: bold;
    text-shadow: 0 0 6px rgba(0,194,255,0.70);
}

/* === WORKFLOW SECTION === */
.clinical-workflow {
    background: #060610;
    padding: 100px 0;
}

.section-header-clinical {
    text-align: center;
    margin-bottom: 60px;
}

.section-title-clinical {
    font-size: 38px;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 12px;
    letter-spacing: -0.022em;
    background: linear-gradient(135deg, #FFFFFF 50%, var(--neon) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle-clinical {
    font-size: 17px;
    color: var(--clinical-text-secondary);
    font-weight: 400;
}

.workflow-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    margin-bottom: 52px;
}

.workflow-step {
    flex: 1;
    max-width: 260px;
    text-align: center;
    padding: 0 20px;
}

.step-number {
    width: 44px;
    height: 44px;
    background: transparent;
    color: var(--neon);
    border: 1.5px solid var(--neon);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    margin: 0 auto 18px;
    box-shadow: 0 0 18px rgba(0,194,255,0.42), inset 0 0 10px rgba(0,194,255,0.08);
}

.step-visual {
    width: 80px;
    height: 80px;
    background: rgba(0,194,255,0.06);
    border-radius: var(--r-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    color: var(--neon);
    border: 1px solid rgba(0,194,255,0.22);
    box-shadow: 0 0 18px rgba(0,194,255,0.10);
}

.step-title {
    font-size: 16px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 8px;
}

.step-description {
    font-size: 14px;
    color: var(--clinical-text-secondary);
    line-height: 1.6;
}

.workflow-arrow {
    color: var(--neon);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    padding-top: 12px;
    opacity: 0.30;
}

.workflow-cta { text-align: center; }

/* === TRUST SECTION === */
.clinical-trust {
    background: #0A0A14;
    padding: 84px 0;
}

.trust-header {
    text-align: center;
    margin-bottom: 44px;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 52px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 18px;
    background: #0F0F1A;
    border-radius: var(--r-md);
    border: 1px solid rgba(0,194,255,0.14);
    transition: var(--transition-fast);
    cursor: default;
}

.trust-item:hover {
    border-color: rgba(0,194,255,0.40);
    box-shadow: 0 0 18px rgba(0,194,255,0.12);
}

.trust-item svg {
    color: var(--neon);
    flex-shrink: 0;
    filter: drop-shadow(0 0 4px rgba(0,194,255,0.50));
}

.trust-item span {
    font-size: 14px;
    color: #D8DCEE;
    font-weight: 500;
    line-height: 1.35;
}

.testimonial-placeholder { max-width: 700px; margin: 0 auto; }

.testimonial-card {
    background: #0F0F1A;
    padding: 36px 40px;
    border-radius: var(--r-xl);
    border: 1px solid rgba(0,194,255,0.18);
    box-shadow: 0 0 40px rgba(0,194,255,0.06), var(--shadow-md);
}

.testimonial-text {
    font-size: 17px;
    color: #D8DCEE;
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author { display: flex; align-items: center; gap: 14px; }

.author-avatar {
    width: 44px;
    height: 44px;
    background: rgba(0,194,255,0.12);
    border: 1px solid rgba(0,194,255,0.22);
    border-radius: 50%;
}

.author-name  { font-weight: 700; color: #FFFFFF; font-size: 15px; }
.author-title { font-size: 13px; color: var(--clinical-text-secondary); }

/* === PRICING SECTION === */
.clinical-pricing {
    background: #060610;
    padding: 100px 0;
}

.pricing-grid-clinical {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card-clinical {
    background: #0F0F1A;
    border: 1px solid rgba(0,194,255,0.16);
    border-radius: var(--r-xl);
    padding: 54px 36px 36px;
    transition: var(--transition-base);
    position: relative;
    cursor: default;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.pricing-card-clinical::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,194,255,0.50), transparent);
    opacity: 0;
    transition: var(--transition-base);
}

.pricing-card-clinical:hover {
    border-color: rgba(0,194,255,0.40);
    box-shadow: 0 0 40px rgba(0,194,255,0.14), 0 16px 50px rgba(0,0,0,0.80);
    transform: translateY(-4px);
}

.pricing-card-clinical:hover::before { opacity: 1; }

.pricing-card-clinical.featured {
    background: linear-gradient(158deg, #080818 0%, #0D0D22 100%);
    border: 1.5px solid rgba(0,194,255,0.45);
    box-shadow: 0 0 60px rgba(0,194,255,0.18), 0 20px 50px rgba(0,0,0,0.80);
}

.pricing-card-clinical.featured::before {
    opacity: 1;
    background: linear-gradient(90deg, transparent, var(--neon), transparent);
}

.pricing-card-clinical.featured:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 80px rgba(0,194,255,0.28), 0 24px 60px rgba(0,0,0,0.80);
    border-color: rgba(0,194,255,0.65);
}

.featured-badge {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--neon);
    color: #060610;
    padding: 5px 18px;
    border-radius: var(--r-pill);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    box-shadow: 0 0 20px rgba(0,194,255,0.60), 0 4px 12px rgba(0,0,0,0.50);
}

.pricing-header {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0,194,255,0.12);
    min-height: 88px;
}

.plan-name-clinical {
    font-size: 22px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 6px;
}

.plan-description-clinical { font-size: 14px; color: var(--clinical-text-secondary); }

.pricing-amount {
    margin-bottom: 8px;
    display: flex;
    align-items: baseline;
    gap: 4px;
    min-height: 58px;
}

.currency { font-size: 18px; color: var(--clinical-text-secondary); font-weight: 600; }

.price { font-size: 48px; font-weight: 800; color: #FFFFFF; line-height: 1; letter-spacing: -0.022em; }
.pricing-card-clinical.featured .price {
    background: linear-gradient(135deg, #FFFFFF 30%, var(--neon) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.period { font-size: 15px; color: var(--clinical-text-secondary); }

.pricing-features-clinical { list-style: none; margin-bottom: 28px; flex: 1; }

.pricing-features-clinical li {
    padding: 10px 0;
    color: var(--clinical-text-secondary);
    font-size: 14px;
    border-bottom: 1px solid rgba(0,194,255,0.08);
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.4;
}

.pricing-features-clinical li::before {
    content: '';
    display: inline-flex;
    width: 18px;
    height: 18px;
    min-width: 18px;
    background: rgba(0,194,255,0.10);
    border: 1px solid rgba(0,194,255,0.30);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4L3.5 6.5L9 1' stroke='%2300C2FF' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 10px;
    box-shadow: 0 0 8px rgba(0,194,255,0.20);
}

.pricing-features-clinical li:last-child { border-bottom: none; }

.btn-pricing-clinical {
    display: flex;
    width: 100%;
    padding: 14px;
    margin-top: auto;
    background: transparent;
    color: var(--neon);
    text-align: center;
    border-radius: var(--r-md);
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    transition: var(--transition-base);
    border: 1.5px solid var(--neon);
    cursor: pointer;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 14px rgba(0,194,255,0.18), inset 0 0 14px rgba(0,194,255,0.04);
}

.btn-pricing-clinical:hover {
    background: rgba(0,194,255,0.12);
    border-color: var(--neon-bright);
    color: var(--neon-bright);
    transform: translateY(-2px);
    box-shadow: var(--glow-btn);
}

.pricing-card-clinical.featured .btn-pricing-clinical {
    background: var(--neon);
    color: #060610;
    border-color: var(--neon);
    font-weight: 800;
    box-shadow: 0 0 28px rgba(0,194,255,0.55), 0 4px 16px rgba(0,0,0,0.50);
}

.pricing-card-clinical.featured .btn-pricing-clinical:hover {
    background: var(--neon-bright);
    border-color: var(--neon-bright);
    box-shadow: 0 0 40px rgba(0,194,255,0.70), 0 4px 20px rgba(0,0,0,0.60);
    color: #060610;
    transform: translateY(-2px);
}

/* === FINAL CTA SECTION === */
.clinical-final-cta {
    background: var(--gradient-cta);
    padding: 96px 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(0,194,255,0.18);
}

.clinical-final-cta::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0,194,255,0.10) 0%, transparent 65%);
    pointer-events: none;
}

.clinical-final-cta::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -8%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(123,63,255,0.08) 0%, transparent 65%);
    pointer-events: none;
}

.final-cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.final-cta-title {
    font-size: 40px;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 14px;
    letter-spacing: -0.022em;
    background: linear-gradient(135deg, #FFFFFF 50%, var(--neon) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.final-cta-subtitle {
    font-size: 17px;
    color: var(--clinical-text-secondary);
    margin-bottom: 36px;
    font-weight: 400;
}

.clinical-final-cta .btn-clinical-primary {
    background: var(--neon);
    color: #060610;
    border-color: var(--neon);
    font-size: 16px;
    padding: 16px 40px;
    font-weight: 800;
    box-shadow: 0 0 40px rgba(0,194,255,0.60), 0 4px 24px rgba(0,0,0,0.60);
    -webkit-text-fill-color: #060610;
}

.clinical-final-cta .btn-clinical-primary:hover {
    background: var(--neon-bright);
    border-color: var(--neon-bright);
    color: #060610;
    -webkit-text-fill-color: #060610;
    box-shadow: 0 0 60px rgba(0,194,255,0.75), 0 8px 32px rgba(0,0,0,0.70);
    transform: translateY(-2px);
}

/* === FOOTER === */
.clinical-footer {
    background: #030308;
    border-top: 1px solid rgba(0,194,255,0.14);
    padding: 60px 0 28px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 64px;
    margin-bottom: 44px;
}

.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-logo span { font-size: 18px; font-weight: 700; color: #FFFFFF; }

.footer-tagline { color: var(--clinical-text-secondary); font-size: 14px; line-height: 1.5; }

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.footer-column h4 {
    font-size: 11px;
    font-weight: 700;
    color: var(--neon);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    text-shadow: 0 0 10px rgba(0,194,255,0.40);
}

.footer-column ul { list-style: none; }
.footer-column li { margin-bottom: 10px; }

.footer-column a {
    color: var(--clinical-text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition-fast);
    cursor: pointer;
}

.footer-column a:hover {
    color: var(--neon);
    text-shadow: 0 0 10px rgba(0,194,255,0.40);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(0,194,255,0.10);
}

.footer-bottom p { color: rgba(138,148,184,0.45); font-size: 13px; }

/* === INLINE STYLE OVERRIDES FOR DARK MODE === */
/* Fixes hardcoded colors in template inline styles */

/* Pricing comparison table section */
section[style*="background: white"],
section[style*="background:white"] {
    background: #0A0A14 !important;
}

/* Pricing comparison table */
table[style*="background: white"],
table[style*="background:white"] {
    background: #0F0F1A !important;
}

/* Table headers */
th {
    background: rgba(0,194,255,0.06) !important;
    color: #FFFFFF !important;
    border-color: rgba(0,194,255,0.12) !important;
}

td {
    border-color: rgba(0,194,255,0.08) !important;
    color: #D8DCEE !important;
}

tr:nth-child(even) {
    background: rgba(0,194,255,0.02) !important;
}

/* White card boxes in pricing FAQs / privacy */
div[style*="background: var(--clinical-white)"] {
    background: #0F0F1A !important;
    border: 1px solid rgba(0,194,255,0.14) !important;
}

/* Override the billing toggle slider */
#billingSlider {
    background: var(--neon) !important;
    box-shadow: 0 0 10px rgba(0,194,255,0.50) !important;
}

/* FAQ / feature comparison cards */
div[style*="border-radius: 12px"] {
    background: #0F0F1A !important;
}

/* Form inputs for enterprise contact */
input, select, textarea {
    background: #0F0F1A !important;
    color: #FFFFFF !important;
    border-color: rgba(0,194,255,0.22) !important;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--neon) !important;
    box-shadow: 0 0 14px rgba(0,194,255,0.22) !important;
    outline: none !important;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

    .hero-subheading { max-width: 100%; }
    .hero-buttons    { justify-content: center; }
    .hero-trust      { justify-content: center; }
    .hero-badge      { justify-content: center; }
    .hero-heading    { font-size: 44px; }

    .features-grid   { grid-template-columns: repeat(2, 1fr); }

    .workflow-steps  { flex-direction: column; align-items: center; gap: 28px; }
    .workflow-arrow  { transform: rotate(90deg); padding-top: 0; }

    .trust-grid      { grid-template-columns: repeat(2, 1fr); }

    .pricing-grid-clinical { grid-template-columns: 1fr; max-width: 480px; }

    .footer-grid     { grid-template-columns: 1fr; gap: 40px; }

    .stats-bar       { gap: 8px; }
    .stat-bar-item   { padding: 6px 20px; font-size: 13px; }
}

@media (max-width: 768px) {
    body { padding-top: 72px; }

    .clinical-hero { padding: 64px 0 48px; min-height: auto; }
    .hero-heading  { font-size: 32px; }
    .hero-subheading { font-size: 17px; }
    .hero-buttons  { flex-direction: column; width: 100%; }

    .btn-clinical-primary,
    .btn-clinical-secondary { width: 100%; text-align: center; }

    .features-grid { grid-template-columns: 1fr; gap: 14px; }

    .section-title-clinical { font-size: 30px; }
    .final-cta-title        { font-size: 28px; }

    .trust-grid { grid-template-columns: 1fr; }

    .footer-links  { grid-template-columns: 1fr; gap: 20px; }
    .footer-grid   { gap: 32px; }

    /* Hide desktop nav items, show hamburger */
    .nav-links,
    .nav-cta    { display: none; }
    .nav-hamburger { display: flex; }

    .stats-bar {
        flex-direction: column;
        gap: 0;
    }
    .stat-bar-item {
        border-right: none;
        border-bottom: 1px solid rgba(0,194,255,0.08);
        width: 100%;
        justify-content: center;
        padding: 10px 20px;
    }
    .stat-bar-item:last-child { border-bottom: none; }
}
