/* ============================================================
   Announcement Banner — Premium "Coming Soon" strip
   Uses the Eagle Doc Accounting color palette for cohesion.
   Placed between hero and stats bar on the homepage.
   ============================================================ */

.announce-banner {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0F0B2E 0%, #1A1145 50%, #2D1B69 100%);
    padding: 16px 0;
    padding-top: calc(16px + 5.5rem); /* extra space for fixed navbar */
    margin-bottom: 0;
    z-index: 10;
}

/* Animated shimmer overlay */
.announce-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(139, 92, 246, 0.08) 25%,
        rgba(14, 165, 233, 0.12) 50%,
        rgba(139, 92, 246, 0.08) 75%,
        transparent 100%
    );
    animation: announce-shimmer 4s ease-in-out infinite;
}

@keyframes announce-shimmer {
    0%   { transform: translateX(-25%); }
    100% { transform: translateX(25%); }
}

/* Top/bottom glow lines */
.announce-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(108, 58, 237, 0.5) 30%,
        rgba(14, 165, 233, 0.5) 70%,
        transparent 100%
    );
}

.announce-banner__inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* "Coming Soon" pill badge */
.announce-banner__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(108, 58, 237, 0.35), rgba(14, 165, 233, 0.35));
    border: 1px solid rgba(139, 92, 246, 0.5);
    border-radius: 50px;
    padding: 5px 16px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
    animation: announce-badge-glow 3s ease-in-out infinite;
    white-space: nowrap;
}

.announce-banner__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #F59E0B;
    animation: announce-dot-pulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes announce-dot-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.4; transform: scale(0.6); }
}

@keyframes announce-badge-glow {
    0%, 100% { box-shadow: 0 0 12px rgba(108, 58, 237, 0.25); }
    50%      { box-shadow: 0 0 28px rgba(108, 58, 237, 0.5); }
}

/* Description text */
.announce-banner__text {
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.4;
}

/* CTA link with arrow */
.announce-banner__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
    color: #8B5CF6;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.announce-banner__cta:hover {
    color: #A78BFA;
    text-decoration: none;
    gap: 10px;
}

.announce-banner__cta i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.announce-banner__cta:hover i {
    transform: translateX(3px);
}

/* When banner is present, reduce hero padding since banner already clears the navbar */
.announce-banner + .header .header-content {
    padding-top: 3rem;
}

/* ── Responsive ── */
@media (max-width: 767px) {
    .announce-banner { padding: 14px 0; padding-top: calc(14px + 5.5rem); }
    .announce-banner__inner {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    .announce-banner__text { font-size: 14px; }
}
