.home-header-section {
    background: linear-gradient(135deg, var(--subtle-bg) 0%, #f1f5f9 50%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
    padding: var(--spacing-xl) 20px var(--spacing-lg) 20px;
    margin: 0 auto;
    max-width: 1200px;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-medium);
}

.home-header-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%" r="50%"><stop offset="0%" stop-color="rgba(139,92,246,0.04)"/><stop offset="100%" stop-color="rgba(139,92,246,0)"/></radialGradient><radialGradient id="b" cx="50%" cy="50%" r="50%"><stop offset="0%" stop-color="rgba(6,182,212,0.03)"/><stop offset="100%" stop-color="rgba(6,182,212,0)"/></radialGradient></defs><circle cx="200" cy="200" r="150" fill="url(%23a)"/><circle cx="800" cy="300" r="200" fill="url(%23b)"/><circle cx="500" cy="700" r="180" fill="url(%23a)"/></svg>');
    opacity: 0.6;
}

.home-header-content {
    position: relative;
    z-index: var(--z-floating);
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.home-header-title {
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-primary);
    animation: fadeInUp 1s ease-out;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.home-header-subtitle {
    font-size: clamp(1rem, 3vw, 1.2rem);
    margin-bottom: 0;
    color: var(--text-secondary);
    animation: fadeInUp 1s ease-out 0.3s both;
    font-weight: 500;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-element {
    position: absolute;
    opacity: 0.08;
    animation: float 8s ease-in-out infinite;
    color: var(--accent-purple);
}

.floating-element:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    top: 30%;
    right: 15%;
    animation-delay: 3s;
}

.floating-element:nth-child(3) {
    bottom: 25%;
    left: 20%;
    animation-delay: 6s;
}

@media ( max-width : 768px) {
    .home-header-section {
        padding: var(--spacing-lg) 15px var(--spacing-md) 15px;
        border-radius: var(--border-radius-md);
    }
    .floating-element {
        opacity: 0.05;
    }
}

@media ( max-width : 576px) {
    .home-header-section {
        padding: 20px var(--spacing-md) 12px var(--spacing-md);
        border-radius: var(--border-radius-sm);
    }
}

@media ( prefers-color-scheme : dark) {
    .home-header-section {
        background: linear-gradient(135deg, var(--subtle-bg) 0%, #475569 50%, #64748b 100%);
    }
}

@media ( prefers-contrast : high) {
    .home-header-section {
        border: 2px solid var(--border-subtle);
    }
    .home-header-title {
        background: var(--text-primary);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
}

@media ( prefers-reduced-motion : reduce) {
    .floating-elements {
        display: none;
    }
    .home-header-title, .home-header-subtitle {
        animation: none;
    }
}