/* =========================================
   DENEXA EMAIL & WHATSAPP SOLUTIONS
========================================= */

:root {
    --denexa-blue: #087cff;
    --denexa-dark: #062b55;
    --denexa-navy: #02234a;
    --denexa-cyan: #16caff;
    --denexa-light: #f5fbff;
    --denexa-text: #516987;
    --denexa-border: #e3eef8;
}


/* =========================================
   HERO
========================================= */

.email-hero {
    position: relative;
    padding: 110px 0 90px;
    overflow: hidden;
    background:
        radial-gradient(circle at 85% 20%, rgba(22, 202, 255, .15), transparent 30%),
        linear-gradient(135deg, #f8fcff 0%, #eef8ff 100%);
}

.email-hero::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(8, 124, 255, .06);
    right: -180px;
    top: -200px;
}

.email-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 18px;
    border: 1px solid rgba(8, 124, 255, .35);
    border-radius: 50px;
    color: var(--denexa-blue);
    background: #fff;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 22px;
}

.email-badge i {
    font-size: 17px;
}

.email-hero h1 {
    color: var(--denexa-navy);
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.05;
    font-weight: 800;
    margin-bottom: 25px;
}

.email-hero h1 span {
    display: block;
    color: var(--denexa-blue);
}

.hero-text {
    color: var(--denexa-text);
    font-size: 18px;
    line-height: 1.8;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.btn-email-primary,
.btn-email-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: .3s ease;
}

.btn-email-primary {
    color: #fff;
    background: linear-gradient(90deg, var(--denexa-blue), var(--denexa-cyan));
    box-shadow: 0 12px 30px rgba(8, 124, 255, .22);
}

.btn-email-primary:hover {
    color: #fff;
    transform: translateY(-3px);
}

.btn-email-outline {
    color: var(--denexa-blue);
    border: 1px solid var(--denexa-blue);
    background: #fff;
}

.btn-email-outline:hover {
    color: #fff;
    background: var(--denexa-blue);
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.hero-points div {
    color: var(--denexa-dark);
    font-size: 14px;
    font-weight: 600;
}

.hero-points i {
    color: var(--denexa-blue);
    margin-right: 6px;
}


/* =========================================
   HERO VISUAL
========================================= */

.email-hero-visual {
    position: relative;
    padding: 35px;
}

.communication-window {
    background: #fff;
    border: 1px solid #dfeefa;
    border-radius: 20px;
    box-shadow: 0 30px 70px rgba(3, 50, 90, .16);
    overflow: hidden;
}

.window-header {
    height: 65px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--denexa-border);
}

.window-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--denexa-dark);
    font-size: 16px;
    font-weight: 800;
}

.window-logo span {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 7px;
    color: #fff;
    background: linear-gradient(135deg, var(--denexa-blue), var(--denexa-cyan));
}

.window-icons {
    display: flex;
    gap: 15px;
    color: #68809c;
}

.communication-body {
    display: flex;
    min-height: 410px;
}

.communication-sidebar {
    width: 70px;
    padding: 20px 12px;
    background: #f5faff;
    border-right: 1px solid var(--denexa-border);
    text-align: center;
}

.communication-sidebar > div {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    margin: 0 auto 15px;
    border-radius: 10px;
    color: #66819e;
}

.communication-sidebar .side-active {
    color: #fff;
    background: var(--denexa-blue);
}

.message-area {
    flex: 1;
    padding: 25px;
}

.message-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.message-title small {
    color: #7890aa;
}

.message-title h4 {
    margin: 3px 0 0;
    color: var(--denexa-navy);
    font-size: 20px;
}

.online-status {
    color: #18b878;
    font-size: 12px;
}

.online-status i {
    font-size: 7px;
    margin-right: 5px;
}

.message-card {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 13px;
    margin-bottom: 12px;
    border: 1px solid var(--denexa-border);
    border-radius: 12px;
    background: #fff;
}

.message-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: #fff;
    background: var(--denexa-blue);
    flex-shrink: 0;
}

.whatsapp-message .message-icon {
    background: #20bf6b;
}

.social-message .message-icon {
    background: #6757e8;
}

.message-card strong {
    display: block;
    color: var(--denexa-dark);
    font-size: 13px;
}

.message-card p {
    margin: 3px 0 0;
    color: #8295aa;
    font-size: 11px;
}

.message-card > span {
    margin-left: auto;
    color: #99a9ba;
    font-size: 10px;
}

.communication-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 20px;
}

.communication-stats div {
    padding: 15px 8px;
    border-radius: 10px;
    background: #f5faff;
    text-align: center;
}

.communication-stats strong {
    display: block;
    color: var(--denexa-blue);
    font-size: 18px;
}

.communication-stats small {
    color: #7890aa;
    font-size: 10px;
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 16px;
    border: 1px solid #e4eef7;
    border-radius: 13px;
    background: rgba(255,255,255,.95);
    box-shadow: 0 15px 35px rgba(3,50,90,.12);
}

.floating-card > i {
    font-size: 23px;
    color: var(--denexa-blue);
}

.floating-card strong,
.floating-card small {
    display: block;
}

.floating-card strong {
    color: var(--denexa-dark);
    font-size: 12px;
}

.floating-card small {
    color: #7b91a8;
    font-size: 10px;
}

.floating-email {
    top: 10px;
    right: -10px;
}

.floating-whatsapp {
    bottom: 15px;
    left: -5px;
}

.floating-whatsapp > i {
    color: #20bf6b;
}


/* =========================================
   COMMON SECTIONS
========================================= */

.email-intro,
.email-solutions,
.email-features,
.whatsapp-section,
.social-section,
.communication-benefits {
    padding: 100px 0;
}

.email-intro {
    background: #fff;
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 55px;
    text-align: center;
}

.section-heading > span,
.section-label {
    color: var(--denexa-blue);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.section-heading h2 {
    color: var(--denexa-navy);
    font-size: 42px;
    line-height: 1.2;
    font-weight: 800;
    margin: 12px 0 18px;
}

.section-heading h2 strong {
    color: var(--denexa-blue);
}

.section-heading p {
    color: var(--denexa-text);
    font-size: 16px;
    line-height: 1.8;
}


/* =========================================
   SOLUTIONS
========================================= */

.email-solutions {
    background: var(--denexa-light);
}

.solution-card {
    position: relative;
    height: 100%;
    padding: 35px;
    border: 1px solid var(--denexa-border);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 35px rgba(3,50,90,.05);
    transition: .3s ease;
}

.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(3,50,90,.1);
}

.featured-solution {
    border: 1px solid rgba(8,124,255,.4);
}

.popular-label {
    position: absolute;
    right: 20px;
    top: 20px;
    padding: 5px 10px;
    color: #fff;
    background: var(--denexa-blue);
    border-radius: 30px;
    font-size: 10px;
    font-weight: 700;
}

.solution-icon {
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
    margin-bottom: 23px;
    border-radius: 15px;
    font-size: 27px;
}

.email-icon {
    color: var(--denexa-blue);
    background: #e8f4ff;
}

.whatsapp-icon {
    color: #18ae61;
    background: #e9fff3;
}

.social-icon {
    color: #6857dc;
    background: #f0edff;
}

.solution-card h3 {
    color: var(--denexa-navy);
    font-size: 23px;
    font-weight: 750;
}

.solution-card > p {
    min-height: 78px;
    color: var(--denexa-text);
    line-height: 1.7;
}

.solution-card ul {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

.solution-card li {
    padding: 8px 0;
    color: #5d7187;
    font-size: 14px;
}

.solution-card li i {
    color: var(--denexa-blue);
    margin-right: 7px;
}

.solution-card > a {
    display: inline-flex;
    gap: 9px;
    align-items: center;
    color: var(--denexa-blue);
    text-decoration: none;
    font-weight: 700;
}


/* =========================================
   FEATURES
========================================= */

.email-features {
    background: #fff;
}

.features-content h2,
.whatsapp-content h2 {
    color: var(--denexa-navy);
    font-size: 43px;
    line-height: 1.2;
    font-weight: 800;
    margin: 14px 0 20px;
}

.features-content h2 strong,
.whatsapp-content h2 strong {
    color: var(--denexa-blue);
}

.features-content > p,
.whatsapp-content > p {
    color: var(--denexa-text);
    line-height: 1.8;
    font-size: 16px;
    max-width: 600px;
}

.feature-list {
    margin-top: 35px;
}

.feature-item {
    display: flex;
    gap: 16px;
    margin-bottom: 25px;
}

.feature-item-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    color: var(--denexa-blue);
    background: #eaf6ff;
    border-radius: 12px;
}

.feature-item h4 {
    color: var(--denexa-dark);
    font-size: 17px;
    margin: 0 0 5px;
}

.feature-item p {
    color: var(--denexa-text);
    margin: 0;
    line-height: 1.6;
    font-size: 14px;
}


/* =========================================
   EMAIL DASHBOARD
========================================= */

.email-dashboard {
    overflow: hidden;
    border: 1px solid var(--denexa-border);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 25px 60px rgba(3,50,90,.12);
}

.dashboard-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 22px;
    border-bottom: 1px solid var(--denexa-border);
}

.dashboard-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--denexa-dark);
    font-weight: 800;
    font-size: 13px;
}

.dashboard-logo span {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    color: #fff;
    border-radius: 7px;
    background: var(--denexa-blue);
}

.dashboard-top > i {
    color: #7790a8;
}

.mail-content {
    display: flex;
    min-height: 360px;
}

.mail-sidebar {
    width: 150px;
    padding: 20px 12px;
    background: #f6fbff;
    border-right: 1px solid var(--denexa-border);
}

.mail-sidebar button {
    width: 100%;
    padding: 9px;
    margin-bottom: 15px;
    border: 0;
    border-radius: 8px;
    color: #fff;
    background: var(--denexa-blue);
    font-size: 11px;
}

.mail-sidebar > div {
    padding: 10px;
    color: #6d839b;
    font-size: 11px;
}

.mail-sidebar > div i {
    margin-right: 7px;
}

.mail-sidebar .mail-active {
    color: var(--denexa-blue);
    background: #e8f4ff;
    border-radius: 7px;
}

.mail-active span {
    float: right;
}

.mail-list {
    flex: 1;
}

.mail-list-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--denexa-border);
}

.mail-list-header h5 {
    color: var(--denexa-dark);
    margin: 0;
}

.mail-list-header i {
    color: #7990a6;
}

.mail-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    border-bottom: 1px solid #edf4f9;
}

.mail-row strong {
    display: block;
    color: var(--denexa-dark);
    font-size: 12px;
}

.mail-row p {
    margin: 3px 0 0;
    color: #8396aa;
    font-size: 10px;
}

.mail-row small {
    margin-left: auto;
    color: #9aabba;
    font-size: 9px;
}

.mail-avatar {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--denexa-blue);
    font-size: 11px;
}

.mail-row.unread {
    background: #f7fbff;
}


/* =========================================
   WHATSAPP
========================================= */

.whatsapp-section {
    background: linear-gradient(135deg, #f5fbff, #eef8ff);
}

.whatsapp-phone {
    width: 290px;
    margin: auto;
    padding: 12px;
    border: 7px solid #092e52;
    border-radius: 32px;
    background: #fff;
    box-shadow: 0 30px 60px rgba(3,50,90,.2);
}

.phone-top {
    display: flex;
    justify-content: space-between;
    padding: 4px 12px 10px;
    color: #102d49;
    font-size: 10px;
}

.phone-top i {
    margin-left: 4px;
}

.whatsapp-header {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px;
    color: #fff;
    background: #138c60;
}

.whatsapp-profile {
    display: flex;
    align-items: center;
    gap: 7px;
    flex: 1;
    font-size: 10px;
}

.whatsapp-profile > div {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #138c60;
    background: #fff;
    font-size: 9px;
    font-weight: 800;
}

.whatsapp-profile span {
    font-weight: 700;
}

.whatsapp-profile small {
    display: block;
    font-weight: 400;
}

.chat-area {
    min-height: 330px;
    padding: 15px 10px;
    background: #e9f5ef;
}

.chat-date {
    width: max-content;
    margin: 0 auto 20px;
    padding: 5px 9px;
    border-radius: 5px;
    color: #70847a;
    background: #fff;
    font-size: 8px;
}

.received-message,
.sent-message {
    max-width: 82%;
    padding: 9px;
    margin-bottom: 10px;
    border-radius: 9px;
    color: #30483d;
    font-size: 10px;
    line-height: 1.5;
}

.received-message {
    background: #fff;
    border-top-left-radius: 2px;
}

.sent-message {
    margin-left: auto;
    background: #d5f7e5;
    border-top-right-radius: 2px;
}

.received-message small,
.sent-message small {
    display: block;
    margin-top: 3px;
    text-align: right;
    color: #83958d;
    font-size: 7px;
}

.chat-input {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    color: #83998d;
    font-size: 9px;
}

.chat-input span {
    flex: 1;
}

.chat-input i:last-child {
    color: #138c60;
}


/* =========================================
   WHATSAPP CONTENT
========================================= */

.whatsapp-benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 35px;
}

.whatsapp-benefits > div {
    display: flex;
    gap: 12px;
}

.whatsapp-benefits > div > i {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    color: #16a765;
    background: #e3fff0;
    border-radius: 10px;
}

.whatsapp-benefits strong,
.whatsapp-benefits small {
    display: block;
}

.whatsapp-benefits strong {
    color: var(--denexa-dark);
    font-size: 14px;
}

.whatsapp-benefits small {
    margin-top: 4px;
    color: var(--denexa-text);
    font-size: 11px;
}


/* =========================================
   SOCIAL
========================================= */

.social-section {
    background: #fff;
}

.social-platforms {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.social-platform {
    padding: 28px 15px;
    text-align: center;
    border: 1px solid var(--denexa-border);
    border-radius: 15px;
    transition: .3s;
}

.social-platform:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(3,50,90,.08);
}

.platform-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    margin: auto auto 15px;
    border-radius: 15px;
    color: #fff;
    font-size: 25px;
}

.facebook {
    background: #1877f2;
}

.instagram {
    background: #d62976;
}

.linkedin {
    background: #0a66c2;
}

.youtube {
    background: #ff0000;
}

.google {
    background: #4285f4;
}

.social-platform h4 {
    color: var(--denexa-dark);
    font-size: 15px;
}

.social-platform p {
    margin: 0;
    color: #7a8fa5;
    font-size: 11px;
}


/* =========================================
   BENEFITS
========================================= */

.communication-benefits {
    background: var(--denexa-light);
}

.benefit-card {
    height: 100%;
    padding: 30px 25px;
    text-align: center;
    border: 1px solid var(--denexa-border);
    border-radius: 15px;
    background: #fff;
}

.benefit-card > i {
    width: 55px;
    height: 55px;
    display: grid;
    place-items: center;
    margin: 0 auto 18px;
    border-radius: 14px;
    color: var(--denexa-blue);
    background: #e9f5ff;
    font-size: 24px;
}

.benefit-card h4 {
    color: var(--denexa-dark);
    font-size: 17px;
}

.benefit-card p {
    margin: 0;
    color: var(--denexa-text);
    line-height: 1.6;
    font-size: 13px;
}


/* =========================================
   CTA
========================================= */

.email-cta {
    padding: 100px 0;
    background:
        radial-gradient(circle at 15% 50%, rgba(22,202,255,.2), transparent 25%),
        linear-gradient(120deg, #03234a, #0759a4);
}

.cta-content {
    max-width: 750px;
    margin: auto;
    text-align: center;
}

.cta-content > span {
    color: var(--denexa-cyan);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
}

.cta-content h2 {
    color: #fff;
    font-size: 44px;
    line-height: 1.2;
    margin: 15px 0;
    font-weight: 800;
}

.cta-content h2 strong {
    color: var(--denexa-cyan);
}

.cta-content p {
    max-width: 620px;
    margin: 0 auto 30px;
    color: rgba(255,255,255,.78);
    line-height: 1.8;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 28px;
    color: #fff;
    background: linear-gradient(90deg, var(--denexa-blue), var(--denexa-cyan));
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: .3s;
}

.cta-button:hover {
    color: #fff;
    transform: translateY(-3px);
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 991px) {

    .email-hero {
        padding: 80px 0;
    }

    .email-hero-visual {
        margin-top: 60px;
    }

    .social-platforms {
        grid-template-columns: repeat(3, 1fr);
    }

    .whatsapp-content {
        margin-bottom: 60px;
    }

    .features-content {
        margin-bottom: 60px;
    }
}


@media (max-width: 767px) {

    .email-hero,
    .email-intro,
    .email-solutions,
    .email-features,
    .whatsapp-section,
    .social-section,
    .communication-benefits,
    .email-cta {
        padding: 70px 0;
    }

    .email-hero h1 {
        font-size: 43px;
    }

    .section-heading h2,
    .features-content h2,
    .whatsapp-content h2,
    .cta-content h2 {
        font-size: 32px;
    }

    .email-hero-visual {
        padding: 10px;
        margin-top: 40px;
    }

    .floating-email {
        right: -5px;
    }

    .floating-whatsapp {
        left: -5px;
    }

    .social-platforms {
        grid-template-columns: repeat(2, 1fr);
    }

    .whatsapp-benefits {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 480px) {

    .email-hero h1 {
        font-size: 38px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-email-primary,
    .btn-email-outline {
        justify-content: center;
        width: 100%;
    }

    .hero-points {
        flex-direction: column;
        gap: 10px;
    }

    .communication-sidebar {
        width: 55px;
    }

    .communication-sidebar > div {
        width: 35px;
        height: 35px;
    }

    .message-area {
        padding: 15px;
    }

    .communication-stats {
        display: none;
    }

    .floating-card {
        display: none;
    }

    .social-platforms {
        grid-template-columns: 1fr 1fr;
    }

    .mail-sidebar {
        display: none;
    }

    .whatsapp-phone {
        width: 270px;
    }
}