/* Hero section visual enhancement - additive only, doesn't touch the
   compiled Tailwind output.css, so it survives any future rebuild of
   that file without needing to be regenerated itself. */

/* Atmospheric gradient orbs behind the hero content - the existing
   .hero-overlay::before handles the dark readability tint over any
   background image; this adds brand-colored glow behind that, using
   ::after so neither rule has to fight the other for the same slot. */
.hero-overlay::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        radial-gradient(circle at 15% 20%, rgba(124, 58, 237, 0.35) 0%, transparent 45%),
        radial-gradient(circle at 85% 10%, rgba(249, 115, 22, 0.28) 0%, transparent 40%),
        radial-gradient(circle at 60% 90%, rgba(124, 58, 237, 0.22) 0%, transparent 50%);
    animation: heroGlowDrift 18s ease-in-out infinite alternate;
}

@keyframes heroGlowDrift {
    0% {
        opacity: 0.75;
        transform: scale(1) translate(0, 0);
    }
    100% {
        opacity: 1;
        transform: scale(1.08) translate(-1%, 1%);
    }
}

/* Subtle dot-grid texture for depth, sitting above the glow but below
   the readability tint's practical effect on text (both are behind
   content since content isn't given a lower z-index). */
.hero-dot-grid {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.15;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.5) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.6), transparent 70%);
    -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.6), transparent 70%);
}

/* Content needs to sit above both new layers plus the existing tint */
.hero-content-layer {
    position: relative;
    z-index: 1;
}

/* Small eyebrow badge above the main headline */
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #e5e5f5;
}

.hero-eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f97316, #7c3aed);
    flex-shrink: 0;
}

/* Refined main headline - larger, tighter line-height, subtle glow */
.hero-title {
    font-size: clamp(2.25rem, 5vw, 4rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
    font-weight: 800;
    text-shadow: 0 2px 40px rgba(124, 58, 237, 0.25);
}

.hero-title-accent {
    background: linear-gradient(120deg, #f97316, #fb923c 40%, #7c3aed);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Premium gradient primary CTA, replacing the flat white button */
.hero-cta-primary {
    background: linear-gradient(120deg, #7c3aed, #f97316) !important;
    color: #fff !important;
    border: none !important;
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(124, 58, 237, 0.45);
}

.hero-cta-secondary {
    backdrop-filter: blur(6px);
    background: rgba(255, 255, 255, 0.04) !important;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.hero-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.09) !important;
}

/* Compact social-proof pill, replacing the larger block layout */
.hero-social-proof {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 18px 10px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(8px);
}

.hero-social-proof img {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

/* Feature checklist - small gradient check circles instead of a plain icon */
.hero-check-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-check-circle {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, #22d3aa, #7c3aed);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-check-circle svg {
    width: 12px;
    height: 12px;
}

/* Floating feature cards on the right - glass panel with gradient border glow */
.hero-feature-card {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 20px 50px rgba(10, 8, 30, 0.35), 0 0 0 1px rgba(124, 58, 237, 0.15);
    animation: heroFeatureFloat 6s ease-in-out infinite;
}

.hero-feature-card:nth-child(even) {
    animation-delay: -3s;
}

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

/* Entrance animation for hero text elements - staggered via inline
   animation-delay on each element, see home_header.blade.php */
.hero-fade-up {
    opacity: 0;
    animation: heroFadeUp 0.8s ease forwards;
}

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-overlay::after,
    .hero-feature-card,
    .hero-fade-up {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}
