/* ========================================================
   EMAIL INFLUENCER PAGE STYLES (ENVELOPES THEME)
   ======================================================== */

.email-page {
    background: linear-gradient(135deg, #11000a 0%, #1a0014 50%, #0d0008 100%);
    color: #ffffff;
    font-family: 'Inter', 'Poppins', sans-serif;
    margin: 0;
    overflow-x: hidden;
}

.email-hero {
    padding-top: 160px;
    padding-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.email-hero .hero-content {
    position: relative;
    z-index: 2;
}

/* ========================================================
   ENVELOPE PULSE STREAMS THEME
   ======================================================== */

.pulse-stream-container {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.envelope-node {
    position: absolute;
    font-size: 2rem;
    opacity: 0;
    color: rgba(255, 0, 122, 0.5);
    filter: drop-shadow(0 0 10px rgba(255, 0, 122, 0.4));
    animation: pulse-stream 10s linear infinite;
}

.env-1 {
    left: -10%;
    top: 20%;
    font-size: 2.5rem;
    animation-duration: 12s;
    animation-delay: 0s;
}

.env-2 {
    left: -10%;
    top: 50%;
    font-size: 1.8rem;
    animation-duration: 15s;
    animation-delay: 3s;
}

.env-3 {
    left: -10%;
    top: 80%;
    font-size: 3rem;
    animation-duration: 18s;
    animation-delay: 1s;
}

.env-4 {
    right: -10%;
    top: 30%;
    font-size: 2.2rem;
    animation-duration: 14s;
    animation-delay: 5s;
    animation-name: pulse-stream-reverse;
}

.env-5 {
    right: -10%;
    top: 70%;
    font-size: 1.5rem;
    animation-duration: 11s;
    animation-delay: 2s;
    animation-name: pulse-stream-reverse;
}

@keyframes pulse-stream {
    0% {
        transform: translateX(0) scale(0.8);
        opacity: 0;
    }

    10% {
        opacity: 0.6;
    }

    50% {
        transform: translateX(50vw) scale(1.2);
        opacity: 0.2;
    }

    90% {
        opacity: 0.6;
    }

    100% {
        transform: translateX(110vw) scale(0.8);
        opacity: 0;
    }
}

@keyframes pulse-stream-reverse {
    0% {
        transform: translateX(0) scale(0.8);
        opacity: 0;
    }

    10% {
        opacity: 0.6;
    }

    50% {
        transform: translateX(-50vw) scale(1.2);
        opacity: 0.2;
    }

    90% {
        opacity: 0.6;
    }

    100% {
        transform: translateX(-110vw) scale(0.8);
        opacity: 0;
    }
}

.data-pulse-line {
    position: absolute;
    height: 1px;
    width: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 0, 122, 0.8), transparent);
    animation: scan-line 6s linear infinite;
    opacity: 0.3;
}

.line-1 {
    top: 25%;
    animation-duration: 5s;
}

.line-2 {
    top: 55%;
    animation-duration: 8s;
    animation-direction: reverse;
}

.line-3 {
    top: 75%;
    animation-duration: 6s;
}

@keyframes scan-line {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.email-pink {
    background: linear-gradient(90deg, #FF007A, #FF00D4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-video-wrapper {
    max-width: 1000px;
    margin: 60px auto 0;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 0, 122, 0.15);
    border: 1px solid rgba(255, 0, 122, 0.3);
}

.hero-image-board {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
}

/* Base structural overrides for the grid reused from about */
.diff-card {
    border: 1px solid rgba(255, 0, 122, 0.2);
}

.diff-card:hover {
    box-shadow: 0 10px 40px rgba(255, 0, 122, 0.1);
    border-color: #FF007A;
}

.data-vis-section {
    padding: 80px 20px;
}

.email-kpis {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.email-kpis .stat {
    background: rgba(255, 0, 122, 0.05);
    border: 1px solid rgba(255, 0, 122, 0.2);
    padding: 30px;
    border-radius: 16px;
    min-width: 200px;
    backdrop-filter: blur(5px);
}

.email-kpis .counter {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    color: #FF007A;
    display: block;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(255, 0, 122, 0.4);
}

.cross-link-banner {
    padding: 40px 20px 80px;
}

.mt-5 {
    margin-top: 50px;
}