.emblem {
    filter: brightness(0);
}

.hover-zoom-img {
    transition: transform 0.3s ease;
}
.card:hover .hover-zoom-img {
    transform: scale(1.03);
}
.cursor-zoom {
    cursor: zoom-in;
}

.footer .social-links a.email-hover:hover {
    background-color: #5438ff !important;
    border-color: #5438ff !important;
    color: #ffffff !important;
}

/* Custom styling for the video play button */
.play-btn-custom {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, var(--accent-color) 0%, rgba(92, 65, 216, 0.8) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    text-decoration: none;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
.play-btn-custom:hover {
    transform: translate(-50%, -50%) scale(1.1);
    color: white;
}

/* ==========================================================================
   Blog & Article Styles
   ========================================================================== */

/* Blog Cards */
.blog-card {
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    border-radius: 8px;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08) !important;
}

.blog-card h3 a {
    transition: color 0.3s ease;
}

.blog-card:hover h3 a {
    color: var(--accent-color) !important;
}

/* Image Zoom Effect */
.hover-zoom-img {
    transition: transform 0.4s ease;
}

.blog-card:hover .hover-zoom-img {
    transform: scale(1.05);
}

/* Single Article Content */
.article-content {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #495057;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content ul li {
    margin-bottom: 0.5rem;
}

.article-quote {
    background-color: #f8f9fa;
    border-left: 4px solid var(--accent-color);
    padding: 1.5rem;
    border-radius: 4px;
    font-style: italic;
    margin: 2.5rem 0;
}

/* Error pages */

.error-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: #f8fbfe;
}
.error-code {
    font-size: 8rem;
    font-weight: 900;
    background: linear-gradient(45deg, #4154f1, #707bf4);
    line-height: 1;
    color: #ffffff;
}
.ai-glow {
    box-shadow: 0 0 50px rgba(65, 84, 241, 0.1);
    border-radius: 20px;
    padding: 60px;
    background: white;
}

/* --------------------------------------------------------------
   Automail Hero
-------------------------------------------------------------- */

.automail-hero {
    min-height: 100vh;
    padding: 150px 0 0;
    background: radial-gradient(circle at 85% 20%, rgba(37, 99, 235, 0.1), transparent 32%), radial-gradient(circle at 65% 75%, rgba(6, 182, 212, 0.08), transparent 30%), linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.automail-hero > .container {
    padding-bottom: 90px;
}

.automail-product-label {
    color: var(--accent-color);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.automail-version-badge {
    color: var(--accent-color);
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.15);
    font-weight: 700;
    padding: 0.45rem 0.75rem;
}

.automail-hero-title {
    color: var(--heading-color);
    font-size: clamp(2.8rem, 4.6vw, 4.5rem);
    line-height: 1.04;
    letter-spacing: -0.045em;
}

.automail-hero-lead {
    max-width: 580px;
    font-size: 1.15rem;
    line-height: 1.75;
}

.automail-hero-points {
    max-width: 520px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--heading-color);
}

.automail-hero-points i {
    color: var(--accent-color);
    font-size: 1rem;
}

.automail-visual-wrap {
    padding: 35px 15px;
}

.automail-visual-card {
    position: relative;
    z-index: 2;
    padding: 16px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(30, 64, 175, 0.08);
    border-radius: 28px;
    box-shadow:
        0 35px 80px rgba(30, 64, 175, 0.12),
        0 8px 30px rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(12px);
}

.automail-visual-card img {
    border-radius: 20px;
}

.automail-visual-wrap::before {
    content: "";
    position: absolute;
    width: 72%;
    height: 72%;
    left: 14%;
    top: 14%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, rgba(6, 182, 212, 0.05) 45%, transparent 70%);
    filter: blur(20px);
}

.automail-visual-label {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    color: var(--heading-color);
    font-size: 0.78rem;
    font-weight: 700;
    backdrop-filter: blur(10px);
}

.automail-visual-label-top {
    top: 5px;
    right: 25px;
}

.automail-visual-label-bottom {
    bottom: 0;
    left: 30px;
}

.automail-visual-label i {
    color: var(--accent-color);
}

.automail-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 5px rgba(16, 185, 129, 0.12);
}

.automail-hero-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(2px);
}

.automail-hero-glow-1 {
    width: 500px;
    height: 500px;
    right: -250px;
    top: 10%;
    background: rgba(37, 99, 235, 0.035);
}

.automail-hero-glow-2 {
    width: 350px;
    height: 350px;
    left: -220px;
    bottom: 5%;
    background: rgba(6, 182, 212, 0.035);
}

.automail-hero-bottom {
    position: relative;
    z-index: 3;
    border-top: 1px solid rgba(15, 23, 42, 0.07);
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
}

.automail-hero-stat {
    padding: 24px 30px;
}

.automail-hero-stat strong {
    display: block;
    color: var(--heading-color);
    font-size: 1rem;
    margin-bottom: 4px;
}

.automail-hero-stat span {
    color: var(--bs-secondary-color);
    font-size: 0.85rem;
}

.automail-hero-stat:not(:last-child) {
    border-right: 1px solid rgba(15, 23, 42, 0.07);
}

/* Responsive */

@media (max-width: 991.98px) {
    .automail-hero {
        padding-top: 115px;
        min-height: auto;
    }

    .automail-hero > .container {
        padding-bottom: 60px;
    }

    .automail-hero-title {
        font-size: clamp(2.5rem, 8vw, 3.8rem);
    }

    .automail-visual-wrap {
        max-width: 760px;
        margin: 0 auto;
    }
}

@media (max-width: 767.98px) {
    .automail-hero {
        padding-top: 105px;
    }

    .automail-hero-title {
        font-size: 2.45rem;
        line-height: 1.08;
    }

    .automail-hero-lead {
        font-size: 1.05rem;
    }

    .automail-visual-wrap {
        padding: 25px 0 35px;
    }

    .automail-visual-card {
        padding: 8px;
        border-radius: 20px;
    }

    .automail-visual-card img {
        border-radius: 14px;
    }

    .automail-visual-label {
        font-size: 0.7rem;
        padding: 8px 10px;
    }

    .automail-visual-label-top {
        right: 5px;
    }

    .automail-visual-label-bottom {
        left: 5px;
    }

    .automail-hero-stat {
        padding: 18px 10px;
    }

    .automail-hero-stat:not(:last-child) {
        border-right: 0;
        border-bottom: 1px solid rgba(15, 23, 42, 0.07);
    }
}
