/* Hero section */
.hero {
    position: relative;
    padding-top: calc(var(--spacing-5xl) + 80px);
    padding-bottom: var(--spacing-5xl);
    background: linear-gradient(180deg, #FFFFFF 0%, #F9FAFB 100%);
    overflow: visible;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-4xl);
    align-items: center;
}

.hero-text {
    max-width: 600px;
}

.hero-title {
    font-size: var(--font-size-6xl);
    font-weight: var(--font-weight-semibold);
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: var(--spacing-lg);
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-style: italic;
    color: var(--text-primary);
    font-weight: var(--font-weight-medium);
    display: inline;
    background: linear-gradient(120deg, #ffffff 0%, var(--primary-color) 100%);
    /* padding: 0.2em 0.5em; */
    /* border-radius: 0.2em; */
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    line-height: 1.4;
}

.hero-description {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-light);
    color: var(--text-secondary);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--spacing-2xl);
}

.hero-actions {
    display: flex;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    aspect-ratio: 16/10;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
}

.hero-image,
.hero-image-wrapper,
.hero-img {
  transform: none !important;
  transition: none !important;
  will-change: auto !important;
}

/* Placeholder when no image */
.hero-image-wrapper:not(:has(img[src])) {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.hero-image-wrapper:not(:has(img[src]))::before {
    content: 'Healthcare AI Dashboard';
    color: white;
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    text-align: center;
    padding: var(--spacing-2xl);
}

/* Mobile styles */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-3xl);
    }

    .hero-text {
        max-width: 100%;
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-image-wrapper {
        position: relative;
        top: auto;
        right: auto;
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: calc(var(--spacing-4xl) + 70px);
        padding-bottom: var(--spacing-4xl);
    }
    
    .hero-title {
        font-size: var(--font-size-4xl);
    }
    
    .hero-description {
        font-size: var(--font-size-lg);
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
}
