/* 
 * Khadim Hospital - Option 3 Bright & Fresh Healthcare Palette
 * Ultra-Compact Hero Height & Proportions
 */

.hero-container {
    position: relative;
    height: 700px;
    min-height: 700px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #FFFFFF;
    overflow: hidden;
    z-index: 5;
    padding: 110px 0 2rem 0;
    box-sizing: border-box;
}

/* Bright & Fresh Gradient Canvas */
.hero-bg-base {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #FFFFFF 0%, #F0F9FF 50%, #E0F2FE 100%);
    z-index: 1;
}

/* Subtle Animated Sky Cyan Dot-Grid Texture */
.hero-dot-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(#0284C7 1.5px, transparent 1.5px);
    background-size: 24px 24px;
    opacity: 0.08;
    z-index: 2;
    pointer-events: none;
    animation: dotGridShift 25s linear infinite;
}

@keyframes dotGridShift {
    0% { background-position: 0 0; }
    100% { background-position: 24px 24px; }
}

/* Soft Floating Ambient Sky Cyan & Mint Blobs */
.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(85px);
    pointer-events: none;
    z-index: 3;
    opacity: 0.22;
}

.blob-top-right {
    top: -10%;
    right: -5%;
    width: 440px;
    height: 440px;
    background: radial-gradient(circle, #0284C7 0%, #38BDF8 70%);
    animation: blobFloatTopRight 18s ease-in-out infinite;
}

.blob-bottom-left {
    bottom: -10%;
    left: -6%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, #38BDF8 0%, #10B981 75%);
    animation: blobFloatBottomLeft 22s ease-in-out infinite;
}

.blob-center {
    top: 40%;
    left: 36%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(2, 132, 199, 0.25) 0%, transparent 70%);
    animation: blobFloatCenter 16s ease-in-out infinite;
}

@keyframes blobFloatTopRight {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-25px, 30px) scale(1.06); }
}

@keyframes blobFloatBottomLeft {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -25px) scale(1.05); }
}

@keyframes blobFloatCenter {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-20px, -20px) scale(1.08); }
}

/* Faint Animated ECG Heartbeat Pulse Line */
.hero-ecg-wrapper {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 80px;
    transform: translateY(-50%);
    z-index: 4;
    pointer-events: none;
    opacity: 0.22;
}

.ecg-svg {
    width: 100%;
    height: 100%;
}

.ecg-line-bg {
    fill: none;
    stroke: rgba(2, 132, 199, 0.2);
    stroke-width: 2;
}

.ecg-line-pulse {
    fill: none;
    stroke: #0284C7;
    stroke-width: 2.5;
    stroke-dasharray: 220 1200;
    stroke-dashoffset: 1420;
    animation: ecgSweep 4s linear infinite;
    filter: drop-shadow(0 0 6px rgba(2, 132, 199, 0.6));
}

@keyframes ecgSweep {
    0% { stroke-dashoffset: 1420; }
    100% { stroke-dashoffset: -220; }
}

/* Hero Content Grid Layout - Ultra Compact Height */
.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1.18fr 0.82fr;
    gap: 2.2rem;
    align-items: center;
    box-sizing: border-box;
}

/* Left Column Alignment */
.hero-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
}

/* Entrance Animations & Delays */
.hero-entrance {
    opacity: 0;
    transform: translateY(16px);
    animation: heroSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-badge { animation-delay: 0.1s; }
.delay-head-1 { animation-delay: 0.2s; }
.delay-head-2 { animation-delay: 0.4s; }
.delay-subtext { animation-delay: 0.5s; }
.delay-cta-1 { animation-delay: 0.6s; }
.delay-cta-2 { animation-delay: 0.7s; }
.delay-cta-3 { animation-delay: 0.8s; }
.delay-card { animation-delay: 0.3s; }

@keyframes heroSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Badge Pill */
.hero-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(2, 132, 199, 0.08);
    border: 1px solid rgba(2, 132, 199, 0.35);
    border-radius: 9999px;
    padding: 0.3rem 1rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: #0284C7;
    font-family: 'Inter', -apple-system, sans-serif;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.08);
    animation: badgePulseBorder 2s ease-in-out infinite;
}

@keyframes badgePulseBorder {
    0%, 100% { border-color: rgba(2, 132, 199, 0.3); box-shadow: 0 0 8px rgba(2, 132, 199, 0.1); }
    50% { border-color: rgba(56, 189, 248, 0.85); box-shadow: 0 0 14px rgba(56, 189, 248, 0.3); }
}

.badge-pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #0284C7;
    box-shadow: 0 0 6px #0284C7;
    animation: dotPulseGlow 1.5s infinite;
}

@keyframes dotPulseGlow {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.6; }
}

/* Headline Styling & Gradient Text Glow - Compact Font Size */
.hero-headline {
    margin: 0;
    font-family: 'Poppins', -apple-system, sans-serif;
    font-size: 2.35rem;
    font-weight: 700;
    line-height: 1.15;
    color: #0F172A;
    letter-spacing: -0.4px;
}

.headline-block {
    display: block;
}

.text-teal-gradient {
    background: linear-gradient(135deg, #0284C7 0%, #06B6D4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 10px rgba(2, 132, 199, 0.22));
}

.hero-description {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 0.92rem;
    font-weight: 400;
    line-height: 1.45;
    color: #475569;
    margin: 0;
    max-width: 540px;
}

/* Interactive Search Bar - Ultra Compact Height */
.hero-search-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0;
    z-index: 50;
}

.search-input-group {
    display: flex;
    align-items: center;
    background: #FFFFFF;
    border: 1.5px solid #E2E8F0;
    border-radius: 9999px;
    padding: 0.42rem 1.1rem;
    box-shadow: 0 4px 16px rgba(2, 132, 199, 0.06);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-sizing: border-box;
}

.search-input-group:focus-within {
    border-color: #0284C7;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.2), 0 8px 24px rgba(2, 132, 199, 0.1);
}

.search-icon-svg {
    width: 16px;
    height: 16px;
    color: #94A3B8;
    transition: color 0.3s ease;
    flex-shrink: 0;
}

.search-input-group:focus-within .search-icon-svg {
    color: #0284C7;
}

.search-input {
    border: none;
    background: transparent;
    color: #0F172A;
    width: 100%;
    font-size: 0.9rem;
    font-family: 'Inter', -apple-system, sans-serif;
    margin-left: 0.55rem;
    outline: none;
    font-weight: 500;
    box-sizing: border-box;
}

.search-input::placeholder {
    color: #94A3B8;
}

/* Autocomplete Dropdown */
.search-results-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #FFFFFF;
    border-radius: 14px;
    margin-top: 0.4rem;
    box-shadow: 0 12px 35px rgba(2, 132, 199, 0.18);
    display: none;
    z-index: 1000;
    overflow-y: auto;
    max-height: 340px;
    border: 1px solid rgba(2, 132, 199, 0.15);
    box-sizing: border-box;
    animation: slideDownDropdown 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.search-result-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #F1F5F9;
    text-decoration: none;
    transition: background 0.25s ease, transform 0.25s ease;
    box-sizing: border-box;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: #F0F9FF;
    transform: translateX(4px);
}

.result-left {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    background: #F8FAFC;
    border: 1px solid rgba(2, 132, 199, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.result-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.result-avatar-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.result-right {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    flex-grow: 1;
}

.result-first-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    width: 100%;
}

.result-doc-name {
    font-family: 'Poppins', -apple-system, sans-serif;
    font-weight: 700;
    color: #0F172A;
    font-size: 0.92rem;
}

.result-dept-badge {
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #0284C7;
    background: rgba(2, 132, 199, 0.08);
    padding: 0.15rem 0.5rem;
    border-radius: 9999px;
    letter-spacing: 0.5px;
}

.result-specialty {
    font-size: 0.78rem;
    color: #475569;
    font-weight: 600;
}

.result-meta-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.15rem;
}

.result-timing {
    font-size: 0.72rem;
    font-weight: 600;
    color: #64748B;
}

.result-view-profile {
    font-size: 0.75rem;
    font-weight: 700;
    color: #0284C7;
    transition: color 0.2s ease;
}

.search-result-item:hover .result-view-profile {
    color: #0F172A;
}

.result-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.result-book-btn {
    font-size: 0.72rem;
    font-weight: 700;
    color: #FFFFFF;
    background: #0284C7;
    padding: 0.2rem 0.55rem;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.result-book-btn:hover {
    background: #0F172A;
    transform: translateY(-1px);
}

.search-result-item mark {
    background: rgba(2, 132, 199, 0.1);
    color: #0284C7;
    font-weight: 700;
    padding: 0 2px;
    border-radius: 2px;
}

.no-results {
    padding: 1rem;
    color: #64748B;
    font-size: 0.88rem;
    text-align: center;
    font-family: 'Inter', -apple-system, sans-serif;
    font-weight: 600;
}

/* CTA Buttons Styling - Ultra Compact */
.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    margin-top: 0.15rem;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    font-family: 'Inter', -apple-system, sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 9999px;
    transition: all 0.3s ease;
    text-decoration: none;
    box-sizing: border-box;
}

.btn-book-hero {
    background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
    color: #FFFFFF !important;
    border: 1px solid rgba(2, 132, 199, 0.3);
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.25);
}

.btn-book-hero:hover {
    transform: translateY(-2px) scale(1.02);
    background: linear-gradient(135deg, #38BDF8 0%, #0284C7 100%);
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.4);
}

.btn-explore-hero {
    background: #FFFFFF;
    border: 1.5px solid rgba(2, 132, 199, 0.3);
    color: #0284C7 !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 3px 12px rgba(2, 132, 199, 0.05);
}

.btn-explore-hero:hover {
    border-color: #0284C7;
    background: rgba(2, 132, 199, 0.05);
    color: #0284C7 !important;
    transform: translateY(-2px);
    box-shadow: 0 0 16px rgba(2, 132, 199, 0.2);
}

.btn-emergency-hero {
    background: linear-gradient(135deg, #FF6B6B 0%, #EF4444 100%);
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 107, 107, 0.4);
    box-shadow: 0 4px 14px rgba(255, 107, 107, 0.3);
    animation: emergencyAlertPulse 2s ease-in-out infinite;
}

.btn-emergency-hero:hover {
    transform: translateY(-2px) scale(1.02);
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
    box-shadow: 0 6px 22px rgba(239, 68, 68, 0.5);
}

@keyframes emergencyAlertPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.55); }
    50% { box-shadow: 0 0 0 8px rgba(255, 107, 107, 0); }
}

/* Right Column: Live Hospital Status Widget - Compact Shell */
.live-status-card {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(2, 132, 199, 0.2);
    border-radius: 1rem;
    padding: 1.1rem 1.25rem;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 15px 35px rgba(2, 132, 199, 0.1), inset 0 0 12px rgba(255, 255, 255, 0.6);
    animation: cardFloatSlow 6s ease-in-out infinite;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
}

@keyframes cardFloatSlow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.status-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid rgba(2, 132, 199, 0.12);
}

.window-dots {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.window-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.dot-red { background: #FF6B6B; box-shadow: 0 0 5px rgba(255, 107, 107, 0.5); }
.dot-yellow { background: #F59E0B; box-shadow: 0 0 5px rgba(245, 158, 11, 0.5); }
.dot-green { background: #10B981; box-shadow: 0 0 5px rgba(16, 185, 129, 0.5); }

.terminal-title {
    font-family: 'Fira Code', 'Courier New', monospace;
    font-size: 0.75rem;
    color: #0284C7;
    letter-spacing: 0.4px;
}

.status-rows-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.status-row {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    padding: 0.55rem 0.65rem;
    border-radius: 0.65rem;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    transition: all 0.3s ease;
}

.status-row:hover {
    background: #F0F9FF;
    border-color: rgba(2, 132, 199, 0.3);
    transform: translateX(3px);
}

.row-entrance {
    opacity: 0;
    transform: translateX(15px);
    animation: rowSlideIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-row-1 { animation-delay: 0.3s; }
.delay-row-2 { animation-delay: 0.5s; }
.delay-row-3 { animation-delay: 0.7s; }

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

.status-icon-circle {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(2, 132, 199, 0.1);
    border: 1px solid rgba(2, 132, 199, 0.3);
    color: #0284C7;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 8px rgba(2, 132, 199, 0.12);
}

.status-icon-circle svg {
    width: 16px;
    height: 16px;
}

.status-row-info {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    flex-grow: 1;
}

.status-row-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
}

.status-row-title {
    font-family: 'Poppins', -apple-system, sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #0F172A;
    margin: 0;
}

.status-row-sub {
    font-size: 0.72rem;
    color: #64748B;
    margin: 0;
    line-height: 1.2;
}

.live-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.62rem;
    font-weight: 700;
    padding: 0.15rem 0.45rem;
    border-radius: 9999px;
    letter-spacing: 0.4px;
    font-family: 'Inter', -apple-system, sans-serif;
}

.live-pill.red-pulse {
    background: rgba(255, 107, 107, 0.12);
    color: #FF6B6B;
    border: 1px solid rgba(255, 107, 107, 0.3);
}

.live-pill.teal-pulse {
    background: rgba(2, 132, 199, 0.1);
    color: #0284C7;
    border: 1px solid rgba(2, 132, 199, 0.3);
}

.pill-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
    animation: dotPulse 1.6s infinite;
}

@keyframes dotPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.3); }
}

.status-card-footer {
    border-top: 1px solid rgba(2, 132, 199, 0.12);
    padding-top: 0.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.activity-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.76rem;
}

.meta-title {
    color: #64748B;
    font-weight: 500;
}

.meta-counter-box {
    font-family: 'Poppins', -apple-system, sans-serif;
    font-weight: 700;
    color: #0284C7;
    font-size: 0.98rem;
    text-shadow: 0 0 8px rgba(2, 132, 199, 0.25);
}

.activity-bar-track {
    width: 100%;
    height: 4px;
    background: #E2E8F0;
    border-radius: 9999px;
    overflow: hidden;
}

.activity-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #0284C7, #38BDF8);
    border-radius: 9999px;
    transition: width 2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 8px rgba(2, 132, 199, 0.5);
}

/* Bottom Stats Ticker Section - Ultra Compact */
.stats-slider-section {
    position: relative;
    width: 100%;
    background: #F8FAFC;
    border-top: 1px solid #E2E8F0;
    border-bottom: 1px solid #E2E8F0;
    padding: 1rem 0;
    box-sizing: border-box;
    z-index: 10;
    overflow: hidden;
}

.stats-slider-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 2rem;
    overflow: hidden;
    position: relative;
}

.stats-slider-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: scrollStats 26s linear infinite;
}

.stats-slider-track:hover {
    animation-play-state: paused;
}

@keyframes scrollStats {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 1rem)); }
}

.stat-slider-card {
    flex: 0 0 260px;
    background: #FFFFFF;
    border: 1px solid rgba(2, 132, 199, 0.15);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.25rem;
    box-shadow: 0 3px 12px rgba(2, 132, 199, 0.05);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-card-icon {
    width: 18px;
    height: 18px;
    color: #0284C7;
    transition: transform 0.3s ease;
}

.stat-number-val {
    font-family: 'Poppins', -apple-system, sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #0284C7;
    line-height: 1.1;
    text-shadow: 0 0 8px rgba(2, 132, 199, 0.15);
    margin: 0;
}

.stat-label-val {
    font-family: 'Poppins', -apple-system, sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    color: #0F172A;
    margin: 0;
}

.stat-desc-val {
    font-size: 0.72rem;
    color: #64748B;
    line-height: 1.2;
    margin: 0;
}

@keyframes statsFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-2px); }
}

.stat-slider-card.float-a { animation: statsFloat 5.2s ease-in-out infinite; }
.stat-slider-card.float-b { animation: statsFloat 5.2s ease-in-out infinite; animation-delay: -1.7s; }
.stat-slider-card.float-c { animation: statsFloat 5.2s ease-in-out infinite; animation-delay: -3.4s; }

.stat-slider-card:hover {
    transform: translateY(-3px) !important;
    background: #FFFFFF;
    border-color: rgba(2, 132, 199, 0.4);
    box-shadow: 0 8px 20px rgba(2, 132, 199, 0.12);
}

/* Responsiveness */
@media (max-width: 1200px) {
    .hero-headline { font-size: 2.1rem; }
    .hero-content { gap: 1.8rem; }
}

@media (max-width: 991px) {
    .hero-container {
        padding-top: 105px;
        height: auto !important;
        min-height: auto !important;
    }
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .hero-left {
        align-items: center;
        text-align: center;
    }
    .hero-headline {
        text-align: center;
        font-size: 2rem;
    }
    .hero-description {
        text-align: center;
    }
    .hero-buttons {
        justify-content: center;
    }
    .live-status-card {
        max-width: 480px;
        margin: 0 auto;
        width: 100%;
        animation: mobileCardFloat 6s ease-in-out infinite;
    }
    .blob-top-right {
        width: 280px;
        height: 280px;
        filter: blur(50px);
    }
    .blob-bottom-left {
        width: 300px;
        height: 300px;
        filter: blur(50px);
    }
    .blob-center {
        display: none;
    }
    .stats-slider-track {
        animation: none !important;
        flex-direction: column;
        width: 100%;
        align-items: center;
        gap: 0.85rem;
    }
    .stat-slider-card {
        flex: 0 0 auto;
        width: 100%;
        max-width: 380px;
    }
    .stat-slider-card.duplicate {
        display: none !important;
    }
}

@keyframes mobileCardFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

@media (max-width: 768px) {
    .hero-container {
        padding-top: 105px;
    }
    .hero-headline {
        font-size: 1.8rem;
    }
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 0.65rem;
    }
    .hero-btn {
        width: 100%;
        max-width: 320px;
    }
}

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .live-status-card,
    .hero-blob,
    .ecg-line-pulse,
    .hero-badge-pill,
    .btn-emergency-hero,
    .pill-dot,
    .badge-pulse-dot,
    .stat-slider-card {
        animation: none !important;
        transform: none !important;
    }
    .hero-entrance,
    .row-entrance {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}