/* Scoped to .aether-hero */
.aether-hero,
.aether-hero * {
    box-sizing: border-box;
}

.aether-hero {
    position: relative;
    width: 100%;
    min-height: 560px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* Background is handled natively by Divi advanced fields */
    font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.aether-hero canvas.aether-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    pointer-events: none; /* Allows clicks to pass through to the background if needed */
}

.aether-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 24px;
}

/* Fade-up entrance */
.aether-fade {
    opacity: 0;
    transform: translateY(20px);
    animation: aetherFadeUp 0.8s ease-in-out forwards;
    animation-delay: calc(var(--i) * 0.2s + 0.5s);
}

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

.aether-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    margin-bottom: 24px;
    border-radius: 9999px;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.2);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.aether-badge svg {
    width: 16px;
    height: 16px;
    color: #c084fc;
}

.aether-badge span {
    font-size: 14px;
    font-weight: 500;
    color: #e5e7eb;
}

.aether-title {
    margin: 0 0 24px;
    font-size: 48px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: -0.05em;
    color: transparent;
    background-image: linear-gradient(to bottom, #fff, #9ca3af);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.aether-text {
    max-width: 672px;
    margin: 0 auto 40px;
    font-size: 18px;
    line-height: 1.55;
    color: #9ca3af;
}

.aether-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border: 0;
    border-radius: 8px;
    background: #fff;
    color: #000;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .4), 0 4px 6px -4px rgba(0, 0, 0, .4);
    transition: background-color 0.3s;
    text-decoration: none;
}

.aether-btn:hover {
    background: #e5e7eb;
}

.aether-btn:focus-visible {
    outline: 2px solid #c084fc;
    outline-offset: 3px;
}

.aether-btn svg {
    width: 20px;
    height: 20px;
}

@media (min-width: 768px) {
    .aether-title {
        font-size: 96px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .aether-fade {
        animation: none;
        opacity: 1;
        transform: none;
    }
}
