/* =========================================================
   APPLICATION HERO
   Page-specific classes to avoid conflicts
========================================================= */

.app-hero-section {
    position: relative;
    background: #ffffff;
    padding: 40px 0 60px;
    overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -220px;
  right: -160px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(103, 61, 230, 0.35),
    transparent 70%
  );
  pointer-events: none;
}



/* =========================================================
   MAIN LAYOUT
========================================================= */

.app-hero-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 0.95fr);
    align-items: center;
    gap: 60px;
}


/* =========================================================
   LEFT CONTENT
========================================================= */

.app-hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}


.app-hero-eyebrow {
    margin: 0 0 10px;
    font-family: "DM Sans", sans-serif;
    font-size: 13px;
    line-height: 1.4;
    color: var(--dark);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 999px;
    background: #EEE9FF;
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

.app-hero-heading {
    margin: 0 0 15px;
    font-family: "DM Sans", sans-serif;
    font-size: clamp(2.1rem, 3vw, 2.8rem);
    font-weight: 700;
    line-height: 1.12;
    color: var(--dark);
}


.app-hero-highlight {
    color: var(--primary);
}


.app-hero-description {
    max-width: 620px;
    margin: 0 0 20px;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-gray);
}


/* =========================================================
   CTA BUTTON
========================================================= */

.app-hero-actions {
    display: flex;
    align-items: center;
    margin-top: 4px;
}


.app-hero-button {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    background: var(--primary);
    border-radius: 10px;
    padding: 17px 14px;
    font-size: 18px;
    border: 1px solid var(--primary);
    cursor: pointer;
    transition: all .3s ease-in-out;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    min-width: 180px;

}


.app-hero-button:hover {
    background: #5025c4;

    box-shadow: 0 8px 24px rgba(103, 61, 230, 0.28);

    transform: translateY(-2px);
}


.app-hero-button:active {
    transform: translateY(0);
}


/* BUTTON SHINE */

.app-hero-button::before {
    content: "";

    position: absolute;

    top: 0;
    left: -80%;

    width: 50%;
    height: 100%;

    background: linear-gradient(
        120deg,
        transparent 0%,
        rgba(255, 255, 255, 0.55) 50%,
        transparent 100%
    );

    transform: skewX(-20deg);

    animation: appHeroButtonShine 2.5s infinite;

    pointer-events: none;
}


@keyframes appHeroButtonShine {

    0% {
        left: -80%;
    }

    60%,
    100% {
        left: 140%;
    }

}


/* =========================================================
   GUARANTEE
========================================================= */

.app-hero-guarantee {
    display: flex;
    align-items: center;
    gap: 6px;

    margin-top: 16px;
}


.app-hero-guarantee-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}


.app-hero-guarantee-text {
    font-size: 14px;
    font-weight: 500;

    color: var(--dark);
}


/* =========================================================
   RIGHT VISUAL
========================================================= */

.app-hero-visual {
    display: flex;
    flex-direction: column;

    gap: 20px;

    width: 100%;
}


/* =========================================================
   TERMINAL
========================================================= */

.app-hero-terminal {
    overflow: hidden;
    border: 1px solid rgba(103, 61, 230, 0.22);
    border-radius: 16px;
    background: #0d0d16;
    /*box-shadow:*/
    /*    0 0 0 1px rgba(103, 61, 230, 0.08),*/
    /*    0 15px 45px rgba(103, 61, 230, 0.16);*/
}


/* TERMINAL HEADER */

.app-hero-terminal-bar {
    display: flex;
    align-items: center;

    gap: 12px;

    padding: 13px 16px;

    background: #14141f;

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}


.app-hero-terminal-dots {
    display: flex;
    align-items: center;

    gap: 7px;
}


.app-hero-dot {
    display: block;

    width: 10px;
    height: 10px;

    border-radius: 50%;
}


.app-hero-dot-red {
    background: #ff5f57;
}


.app-hero-dot-yellow {
    background: #febc2e;
}


.app-hero-dot-green {
    background: #28c840;
}


.app-hero-terminal-title {
    font-size: 13px;
    color: #a1a1aa;
}


/* =========================================================
   TERMINAL BODY
========================================================= */

.app-hero-terminal-body {
    min-height: 250px;

    padding: 22px;

    font-size: 14px;
    line-height: 1.8;

    color: #d7d7e4;

    white-space: pre-wrap;
}


/* TERMINAL TEXT */

.app-hero-terminal-body .t-prompt {
    color: var(--primary);
}


.app-hero-terminal-body .t-ok {
    color: #7ee787;
}


/* =========================================================
   TERMINAL CURSOR
========================================================= */

.app-hero-terminal-cursor {
    display: inline-block;

    width: 8px;
    height: 17px;

    margin-left: 4px;

    vertical-align: middle;

    background: #ffffff;

    animation: appHeroCursorBlink 0.9s steps(2, start) infinite;
}


@keyframes appHeroCursorBlink {

    50% {
        opacity: 0;
    }

}


/* =========================================================
   DEPLOYMENT STEPS
========================================================= */

.app-hero-deploy-track {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 8px;
}


.app-hero-deploy-step {
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center;

    padding-top: 14px;

    border-top: 2px solid #dedee5;

    color: var(--text-gray);

    font-size: 11px;

    text-align: center;

    transition:
        border-color 0.3s ease,
        color 0.3s ease;
}


.app-hero-step-number {
    display: block;

    margin-bottom: 5px;

    font-size: 12px;
    font-weight: 700;

    color: var(--text-gray);

    transition: color 0.3s ease;
}


.app-hero-step-name {
    font-weight: 500;
    font-size: 14px;
}


.app-hero-deploy-step.active {
    border-color: var(--primary);

    color: var(--primary);
}


.app-hero-deploy-step.active .app-hero-step-number {
    color: var(--primary);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 992px) {

    .app-hero-section {
        padding: 40px 0 50px;
    }


    .app-hero-wrapper {
        grid-template-columns: 1fr;
        gap: 45px;
    }


    .app-hero-content {
        width: 100%;
    }


    .app-hero-visual {
        width: 100%;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .app-hero-section {
        padding: 30px 0 45px;
    }


    .app-hero-wrapper {
        gap: 35px;
    }


    .app-hero-heading {
        font-size: clamp(2rem, 9vw, 2.6rem);
    }


    .app-hero-description {
        font-size: 15px;
    }


    .app-hero-button {
        width: 100%;
        max-width: 220px;
    }


    .app-hero-terminal-body {
        min-height: 210px;

        padding: 18px;

        font-size: 12px;
    }


    .app-hero-deploy-step {
        font-size: 9px;
    }


    .app-hero-step-number {
        font-size: 10px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .app-hero-terminal-body {
        min-height: 190px;

        font-size: 11px;

        overflow-x: auto;
    }


    .app-hero-deploy-track {
        gap: 4px;
    }


    .app-hero-deploy-step {
        padding-top: 10px;

        font-size: 8px;
    }


    .app-hero-step-number {
        font-size: 9px;
    }

}


/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {

    .app-hero-button::before,
    .app-hero-terminal-cursor {
        animation: none;
    }
    .app-hero-button,
    .app-hero-deploy-step,
    .app-hero-step-number {
        transition: none;
    }

}


/* =========================================================
   APPLICATION FEATURES
========================================================= */


.hxh-app-features {
  position: relative;
  padding: 40px 0 40px;
  overflow: hidden;
  background: #ffffff;
}

.app-rating-section {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 45px;
}

.app-rating-icon {
  display: flex;
  justify-content: center;
  align-items: center;
}

.app-rating-icon .app-icon-bot {
  height: 40px;
}

.app-rating-icon .app-icon-ai {
  height: 60px;
}

.app-rating-plus {
  font-size: 20px;
  margin: 0 5px;
}

.app-rating-dash {
  font-size: 100%;
  margin: 0 5px;
}

.app-rating-text-bold {
  font-size: 26px;
  color: var(--primary);
  font-weight: 700;
  margin-right: 5px;
}

.app-rating-text {
  font-size: 26px;
  color: var(--text-gray);
  font-weight: 700;
  text-transform: uppercase;
}


/* Feature Grid */

.hxh-app-features-grid {
  position: relative;
  z-index: 1;

  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* Feature Card */

.hxh-app-feature-card {
  min-height: 138px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #f2f3f6;
  border: 1px solid #dfe2ec;
  border-radius: 20px;

  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.hxh-app-feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(103, 61, 230, 0.35);
  box-shadow: 0 12px 30px rgba(103, 61, 230, 0.08);
}

/* Icon */

.hxh-app-feature-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #673de6;
}

.hxh-app-feature-icon svg {
  width: 34px;
  height: 34px;
  display: block;
}

/* Heading */

.hxh-app-feature-card h3 {
  margin: 0 0 5px;

  font-size: 14px;
  line-height: 1.4;
  font-weight: 700;

  color: #172033;
}

/* Description */

.hxh-app-feature-card p {
  margin: 0;

  font-size: 14px;
  line-height: 1.45;
  font-weight: 400;

  color: #68738a;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

  .hxh-app-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 575px) {

  .hxh-app-features {
    padding-bottom: 50px;
  }

  .hxh-app-features-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hxh-app-feature-card {
    min-height: auto;
    padding: 20px;
  }

}

@media (max-width: 468px) {
    .app-rating-section {
        flex-wrap: wrap;
        
    }
    .app-rating-dash {
        display: none;
    }
    .app-rating-text{
        text-align: center;
    }
}



/* APPLICATIONS ABOUT SECTION */

.app-about-section {
    padding: 40px 0 60px;
    background: #ffffff;
}


/* CONTAINER CARD */

.app-about-card {
    position: relative;
    overflow: hidden;
    padding: 60px;
    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(103, 61, 230, 0.08),
            transparent 35%
        ),
        #f8f7fc;
    border: 1px solid #e7e5ef;
    border-radius: 24px;
    box-shadow:
        0 10px 40px rgba(24, 16, 56, 0.04);
}

/* Decorative glow */

.app-about-card::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    right: -130px;
    bottom: -150px;
    border-radius: 50%;
    background: rgba(103, 61, 230, 0.07);
    pointer-events: none;
}


/* LABEL */

.app-about-label {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 15px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}


/* CONTENT */

.app-about-content {
    position: relative;
    z-index: 1;
    max-width: 850px;
}

.app-about-heading {
    margin: 0 0 18px;
    color: var(--dark);
    font-family: "DM Sans", sans-serif;
    font-size: clamp(2rem, 3.2vw, 2.8rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -1px;
}

.app-about-highlight {
    color: var(--primary);
}

.app-about-description {
    max-width: 760px;
    margin: 0;
    color: var(--text-gray);
    font-size: 16px;
    line-height: 1.7;
}


/* STATS */

.app-about-stats {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 35px;
    border-top: 1px solid #dedbe7;
    padding-top: 32px;
}

.app-about-stat {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
    padding: 0 24px;
}

.app-about-stat:first-child {
    padding-left: 0;
}

.app-about-stat:not(:first-child) {
    border-left: 1px solid #dedbe7;
}

/* Number */

.app-about-stat-number {
    color: var(--dark);
    font-family: "DM Sans", sans-serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.8px;
}

/* Text */

.app-about-stat-text {
    max-width: 150px;
    color: var(--text-gray);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.45;
}

/* TABLET */

@media (max-width: 992px) {

    .app-about-card {
        padding: 45px;
    }

    .app-about-stats {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 28px;
    }

    .app-about-stat {
        padding: 0 20px;
    }

    .app-about-stat:nth-child(3) {
        padding-left: 0;
    }

    .app-about-stat:nth-child(3),
    .app-about-stat:nth-child(4) {
        padding-top: 28px;
        border-top: 1px solid #dedbe7;
    }

    .app-about-stat:nth-child(3) {
        border-left: none;
    }

}


/* MOBILE */

@media (max-width: 768px) {

    .app-about-section {
        padding: 50px 0;
    }

    .app-about-card {
        padding: 35px 25px;
        border-radius: 20px;
    }

    .app-about-label {
        margin-bottom: 12px;
        font-size: 11px;
    }

    .app-about-heading {
        margin-bottom: 15px;
        font-size: 1.8rem;
        line-height: 1.25;
    }

    .app-about-description {
        font-size: 15px;
        line-height: 1.65;
    }

    .app-about-stats {
        margin-top: 35px;
        padding-top: 25px;
    }

    .app-about-stat-number {
        font-size: 24px;
    }

    .app-about-stat-text {
        font-size: 12px;
    }
}

/* SMALL MOBILE */

@media (max-width: 480px) {

    .app-about-section {
        padding: 40px 0;
    }

    .app-about-card {
        padding: 28px 20px;
        border-radius: 16px;
    }

    .app-about-heading {
        font-size: 1.55rem;
        letter-spacing: -0.5px;
    }

    .app-about-description {
        font-size: 14px;
    }
    
    .app-about-stats {
        margin-top: 30px;
        grid-template-columns: repeat(2, 1fr);
        row-gap: 22px;
    }
    
    .app-about-stat {
        padding: 0 10px;
    }
    
    .app-about-stat:nth-child(3),
    .app-about-stat:nth-child(4) {
        padding-top: 22px;
    }
    
    .app-about-stat-number {
        font-size: 21px;
    }
    
    .app-about-stat-text {
        font-size: 11px;
    }
}


/* =========================================================
   HEROXHOST - POPULAR APPLICATIONS
   Completely page/component scoped
========================================================= */

.hxh-popular-section {
    position: relative;
    padding: 40px 0 60px;
    background: var(--bg, #ffffff);
    color: var(--text-primary, #111111);
    overflow: hidden;
}


/* =========================================================
   HEADER
========================================================= */

.hxh-popular-header {
    margin: 0 auto 44px;
    text-align: center;
}

.hxh-popular-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    padding: 7px 13px;
    border: 1px solid rgba(103, 61, 230, 0.16);
    border-radius: 999px;
    background: rgba(103, 61, 230, 0.07);
    color: var(--primary, #673de6);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hxh-popular-title {
    margin: 0 0 12px;
    color: var(--text-primary, #111111);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 600;
    line-height: 1.15;
}

.hxh-popular-description {
    max-width: 620px;
    margin: 0 auto;
    color: var(--text-secondary, #666666);
    font-size: 15px;
    line-height: 1.65;
}


/* GRID */

.hxh-popular-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}


/* CARD */

.hxh-popular-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 100%;
    padding: 22px;
    background: var(--bg-card, #ffffff);
    border: 1px solid var(
        --border,
        rgba(11, 11, 18, 0.08)
    );
    border-radius: var(
        --radius-md,
        16px
    );
    box-shadow: 0 6px 24px rgba(20, 15, 40, 0.04);
    transition:
        transform var(--transition, 220ms ease),
        border-color var(--transition, 220ms ease),
        box-shadow var(--transition, 220ms ease),
        background var(--transition, 220ms ease);
}

.hxh-popular-card:hover {
    /*transform: translateY(-4px);*/
    background: var(
        --bg-card-hover,
        #f9f8ff
    );
    border-color: rgba(103, 61, 230, 0.25);
    /*box-shadow: 0 12px 34px rgba(103, 61, 230, 0.10);*/
}

.hxh-popular-card:hover .hxh-popular-card-requirements{
    background: #ffffff;
}

.hxh-popular-card:hover .hxh-popular-card-badge{
    background: #ffffff;
}

.hxh-popular-card:hover .hxh-popular-card-tag{
    background: #ffffff;
}


/* CARD TOP */

.hxh-popular-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}


/* APPLICATION ICON */

.hxh-popular-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 12px;
    color: var(
        --primary,
        #673de6
    );
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.hxh-popular-card-icon-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}


/* POPULAR BADGE */

.hxh-popular-card-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(103, 61, 230, 0.09);
    color: var(
        --primary,
        #673de6
    );
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
}


/* CARD CONTENT */

.hxh-popular-card-title {
    margin: 0 0 5px;
    color: var(
        --text-primary,
        #111111
    );
    font-size: 17px;
    font-weight: 600;
    line-height: 1.3;
}

.hxh-popular-card-category {
    margin: 0 0 12px;
    color: var(
        --primary,
        #673de6
    );
    font-size: 12px;
    font-weight: 600;
}

.hxh-popular-card-description {
    margin: 0 0 16px;
    color: var(
        --text-secondary,
        #666666
    );
    font-size: 13px;
    line-height: 1.55;
}


/* TAGS */

.hxh-popular-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 18px;
}

.hxh-popular-card-tag {
    display: inline-flex;
    padding: 4px 8px;
    border: 1px solid var(
        --border,
        rgba(11, 11, 18, 0.08)
    );
    border-radius: 6px;
    background: transparent;
    color: var(
        --text-secondary,
        #666666
    );
    font-size: 10px;
    font-weight: 500;
}


/* REQUIREMENTS */

.hxh-popular-card-requirements {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-top: auto;
    margin-bottom: 18px;
    /*padding-top: 15px;*/
    /*border-top: 1px solid var(*/
    /*    --border,*/
    /*    rgba(11, 11, 18, 0.08)*/
    /*);*/
    justify-items: center;
    padding: 15px;
    border: 1px solid var(
        --border,
        rgba(11, 11, 18, 0.08)
    );
    border-radius: 12px;
    background: var(--bg-card-hover,#f9f8ff);
}

.hxh-popular-card-requirement {
    text-align: left;
}

.hxh-popular-card-requirement strong {
    display: block;
    margin-bottom: 2px;
    color: var(
        --text-primary,
        #111111
    );
    font-size: 16px;
    font-weight: 600;
}

.hxh-popular-card-requirement span {
    display: block;
    color: var(
        --text-secondary,
        #777777
    );
    font-size: 12px;
}


/* DEPLOY BUTTON */

.hxh-popular-card-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 42px;
    padding: 10px 14px;
    border: 1px solid var(
        --primary,
        #673de6
    );
    border-radius: 20px;
    background: var(
        --primary,
        #673de6
    );
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition:
        background var(--transition, 220ms ease),
        border-color var(--transition, 220ms ease),
        transform var(--transition, 220ms ease),
        box-shadow var(--transition, 220ms ease);
}

.hxh-popular-card-button:hover {
    background: var(
        --primary-dark,
        #5025c4
    );
    border-color: var(
        --primary-dark,
        #5025c4
    );
    transform: translateY(-1px);
    box-shadow:
        0 7px 20px rgba(103, 61, 230, 0.20);
}

.hxh-popular-card-button:active {
    transform: translateY(0);
}


/* ARROW */

.hxh-popular-card-button svg {
    width: 14px;
    height: 14px;
    margin-left: 7px;
    transition: transform 180ms ease;
}

.hxh-popular-card-button:hover svg {
    transform: translateX(3px);
}


/* EMPTY / LOADING */

.hxh-popular-empty {
    grid-column: 1 / -1;
    padding: 40px;
    text-align: center;
    color: var(
        --text-secondary,
        #666666
    );
}


/* RESPONSIVE */

@media (max-width: 1080px) {
    .hxh-popular-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 920px) {
    .hxh-popular-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .hxh-popular-section {
        padding: 60px 0;
    }

    .hxh-popular-header {
        margin-bottom: 32px;
    }

    .hxh-popular-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .hxh-popular-card {
        padding: 18px;
    }
}


/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
    .hxh-popular-card,
    .hxh-popular-card-button,
    .hxh-popular-card-button svg {
        transition: none;
    }
}






/* =========================================================
   MARKETPLACE SECTION
========================================================= */

.marketplace-section {
  position: relative;
    padding: 40px 0 60px;
    background: #ffffff;
}

.marketplace-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}


/* =========================================================
   MOBILE FILTER TRIGGER
========================================================= */

.mobile-filter-trigger {
  display: none;
}


/* =========================================================
   CATEGORY SIDEBAR
========================================================= */

.category-sidebar {
  position: sticky;
  top: 160px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  max-height: calc(100vh - 130px);
  overflow-y: auto;
}

.category-sidebar::-webkit-scrollbar {
  width: 5px;
}

.category-sidebar::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: 10px;
}


.sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.sidebar-head h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
}


.sidebar-close {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 1rem;
}


/* =========================================================
   SIDEBAR SEARCH
========================================================= */

.sidebar-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 14px;
  transition: border-color 220ms cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-search:focus-within {
  border-color: var(--primary);
}

.sidebar-search input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  color: #0B0B12;
  font-size: 0.85rem;
}

.sidebar-search input:focus {
  outline: none;
}


/* =========================================================
   CATEGORY LIST
========================================================= */

.category-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
  margin-bottom: 20px;
}


/* Generated by your JavaScript */

.app-category-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 9px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.84rem;
  text-align: left;
  transition:
  background 220ms cubic-bezier(0.4, 0, 0.2, 1),
  color 220ms cubic-bezier(0.4, 0, 0.2, 1),
  border-color 220ms cubic-bezier(0.4, 0, 0.2, 1);
  background: #ffffff;
  color: var(--dark);
}

.app-category-item:hover {
  background: #F6F5FB;
  border: 1px solid var(--border);
}

.app-category-item:hover .count{
    background: #ffffff;
}

.app-category-item.active {
  background: #EEE9FF;
  border-color: rgba(103, 61, 230, 0.2);
  color: var(--primary);
  font-weight: 600;
}


/* Category count generated by JS */

.app-category-item .count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  min-height: 26px;
  padding: 2px 7px;
  border-radius: 999px;
  /*background: #EEE9FF;*/
  font-size: 0.7rem;
}

.app-category-item.active .count {
  background: #ffffff;
  color: var(--primary);
}


/* =========================================================
   RESOURCE FILTER
========================================================= */

.sidebar-block {
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.sidebar-block h4 {
  margin-bottom: 10px;
  color: var(--text-secondary);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
    min-width: 100px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(11, 11, 18, 0.14);
  background: transparent;
  font-size: 14px;
  transition:
    background 220ms cubic-bezier(0.4, 0, 0.2, 1),
    border-color 220ms cubic-bezier(0.4, 0, 0.2, 1),
    color 220ms cubic-bezier(0.4, 0, 0.2, 1);
}

.chip:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.chip.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}


/* MARKETPLACE MAIN */

.marketplace-main {
  min-width: 0;
}


/* SEARCH AND SORT */

.marketplace-toolbar {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.search-bar {
  flex: 1;
  min-width: 220px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px;
  color: var(--text-secondary);
  transition:
    border-color 220ms cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 220ms cubic-bezier(0.4, 0, 0.2, 1);
}

.search-bar:focus-within {
  border-color: var(--primary);
}

.search-bar input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  color: #0B0B12;
  font-size: 0.92rem;
}

.search-bar input:focus {
  outline: none;
}

/* SORT DROPDOWN */

.sort-control {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-control label {
    font-size: 15px;
    font-weight: 500;
    color: #55555F;
    white-space: nowrap;
}


/* CUSTOM SORT */

.custom-sort {
    position: relative;
    width: 220px;
}


/* TRIGGER */

.custom-sort-trigger {
    width: 100%;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 13px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #ffffff;
    font-family: inherit;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    outline: none;
    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.custom-sort-trigger:hover {
    border-color: var(--primary);
}

.custom-sort-trigger[aria-expanded="true"] {
    border-color: var(--primary);
}


/* CHEVRON */

.custom-sort-chevron {
    flex-shrink: 0;
    color: var(--text-muted);
    transition:
        transform 0.2s ease,
        color 0.2s ease;
}

.custom-sort-trigger[aria-expanded="true"]
.custom-sort-chevron {
    color: var(--primary);
    transform: rotate(180deg);
}


/* ==================================================
   DROPDOWN MENU
   ================================================== */

.custom-sort-menu {
    position: absolute;
    top: calc(100% + 7px);
    left: 0;
    right: 0;
    z-index: 100;
    padding: 6px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow:
        0 14px 35px rgba(0, 0, 0, 0.28);
    opacity: 0;
    visibility: hidden;
    transform:
        translateY(-6px)
        scale(0.98);
    transform-origin: top;
    transition:
        opacity 0.16s ease,
        transform 0.16s ease,
        visibility 0.16s ease;
}

.custom-sort.open .custom-sort-menu {
    opacity: 1;
    visibility: visible;

    transform:
        translateY(0)
        scale(1);
}


/* ==================================================
   OPTIONS
   ================================================== */

.custom-sort-option {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 11px;
    border: 0;
    border-radius: 8px;
    background: #ffffff;
    color: var(--text);
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    transition:
        background 0.15s ease,
        color 0.15s ease;
}

.custom-sort-option:hover {
    background: var(--primary-light);
}

.custom-sort-option.active {
    background: rgba(103, 61, 230, 0.10);
}


/* ==================================================
   OPTION TEXT
   ================================================== */

.sort-option-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.sort-option-text strong {
    font-size: 14px;
    font-weight: 500;
    color: #0B0B12;
}


/* ==================================================
   CHECK ICON
   ================================================== */

.sort-option-check {
    flex-shrink: 0;

    color: var(--primary);

    opacity: 0;

    transition:
        opacity 0.15s ease;
}

.custom-sort-option.active
.sort-option-check {
    opacity: 1;
}

/* =========================================================
   RESULTS META
========================================================= */

.results-meta {
  font-size: 16px;
  margin-bottom: 16px;
}


/* APPLICATION GRID */

.app-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}


/* APPLICATION CARDS These classes are generated by your marketplace JS */


.section-head {
    margin: 0 auto 44px;
    text-align: center;
}

.app-marketplace-header{
    font-size: clamp(1.7rem, 2.6vw, 2.3rem);
    margin-bottom: 12px;
}

.app-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 100%;
    padding: 22px;
    background: #ffffff;
    border: 1px solid var(
        --border,
        rgba(11, 11, 18, 0.08)
    );
    border-radius: var(
        --radius-md,
        16px
    );
    box-shadow: 0 6px 24px rgba(20, 15, 40, 0.04);
    transition:
        transform var(--transition, 220ms ease),
        border-color var(--transition, 220ms ease),
        box-shadow var(--transition, 220ms ease),
        background var(--transition, 220ms ease);
}

.app-card:hover {
    /*transform: translateY(-4px);*/
    background: var(
        --bg-card-hover,
        #f9f8ff
    );
    border-color: rgba(103, 61, 230, 0.25);
    /*box-shadow: 0 12px 34px rgba(103, 61, 230, 0.10);*/
}

.app-card:hover .card-requirements{
    background: #ffffff;
}

.app-card:hover .card-badge{
    background: #ffffff;
}

.app-card:hover .tag-chip{
    background: #ffffff;
}


.app-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 12px;

  margin-bottom: 16px;
}


.app-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 12px;
    color: var(
        --primary,
        #673de6
    );
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.app-icon-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}


.featured-pill {
    display: inline-flex;
    align-items: center;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(103, 61, 230, 0.09);
    color: var(--primary, #673de6);
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
}


.app-card h3 {
  margin-bottom: 4px;
  font-size: 1.05rem;
}


.app-sub {
  margin-bottom: 12px;

  color: var(--primary);

  font-size: 0.75rem;

  font-weight: 600;
}


.app-desc {
    margin: 0 0 16px;
    color: var(
        --text-secondary,
        #666666
    );
    font-size: 13px;
    line-height: 1.55;
}


.card-tags {
  display: flex;
  flex-wrap: wrap;

  gap: 6px;

  margin-bottom: 18px;
}


.tag-chip {
    display: inline-flex;
    padding: 4px 8px;
    border: 1px solid var(
        --border,
        rgba(11, 11, 18, 0.08)
    );
    border-radius: 6px;
    background: transparent;
    color: var(
        --text-secondary,
        #666666
    );
    font-size: 10px;
    font-weight: 500;
}


/* =========================================================
   APPLICATION REQUIREMENTS
========================================================= */

.card-requirements {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-top: auto;
    margin-bottom: 18px;
    justify-items: center;
    padding: 15px;
    border: 1px solid var(
        --border,
        rgba(11, 11, 18, 0.08)
    );
    border-radius: 12px;
    background: var(--bg-card-hover,#f9f8ff);
}

.card-requirement {
    text-align: left;
}

.card-requirement strong {
    display: block;
    margin-bottom: 2px;
    color: var(
        --text-primary,
        #111111
    );
    font-size: 16px;
    font-weight: 600;
}

.card-requirement span {
    display: block;
    color: var(
        --text-secondary,
        #777777
    );
    font-size: 12px;
}


/* =========================================================
   DEPLOY BUTTON
========================================================= */

.card-deploy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 42px;
    padding: 10px 14px;
    border: 1px solid var(
        --primary,
        #673de6
    );
    border-radius: 20px;
    background: var(
        --primary,
        #673de6
    );
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition:
        background var(--transition, 220ms ease),
        border-color var(--transition, 220ms ease),
        transform var(--transition, 220ms ease),
        box-shadow var(--transition, 220ms ease);
}

.card-deploy-btn:hover {
    background: var(
        --primary-dark,
        #5025c4
    );
    border-color: var(
        --primary-dark,
        #5025c4
    );
    transform: translateY(-1px);
    box-shadow:
        0 7px 20px rgba(103, 61, 230, 0.20);
}

.card-deploy-btn:active {
    transform: translateY(0);
}


/* =========================================================
   EMPTY STATE
========================================================= */

.empty-state {
  padding: 60px 20px;

  text-align: center;

  color: var(--text-secondary);
}

.empty-state svg {
  margin: 0 auto 16px;

  color: var(--primary);
}


.empty-state h3 {
  margin-bottom: 8px;

  color: #0B0B12;

  font-size: 1.1rem;
}


.empty-state p {
  margin-bottom: 20px;
}


/* =========================================================
   LOAD MORE
========================================================= */

.load-more-wrap {
  text-align: center;
  margin-top: 32px;
}

.app-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 999px;
    font-weight: 500;
    font-size: 18px;
    border: 1px solid transparent;
    transition: transform 220ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 220ms cubic-bezier(0.4, 0, 0.2, 1), background 220ms cubic-bezier(0.4, 0, 0.2, 1), border-color 220ms cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.app-btn-outline {
    background: transparent;
    border-color: rgba(11, 11, 18, 0.14);
    color: #0B0B12;
}

.app-btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}


/* =========================================================
   MOBILE SIDEBAR BACKDROP
========================================================= */

.sidebar-backdrop {
  position: fixed;

  inset: 0;

  z-index: 390;

  display: none;

  background: rgba(0, 0, 0, 0.55);

  opacity: 0;

  transition: opacity 220ms cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-backdrop.open {
  display: block;

  opacity: 1;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1080px) {

  .app-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}


/* =========================================================
   MOBILE / TABLET SIDEBAR
========================================================= */

@media (max-width: 920px) {

  .marketplace-layout {
    grid-template-columns: 1fr;
  }


  .mobile-filter-trigger {
    display: flex;
    align-items: center;

    gap: 8px;

    width: 100%;

    padding: 12px 16px;

    margin-bottom: 18px;

    border-radius: 12px;

    border: 1px solid var(--border);

    background: var(--bg-card);

    color: #0B0B12;

    font-size: 0.9rem;
  }


  .category-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    bottom: 0;
    width: min(500px, 88vw);
    z-index: 9999;
    max-height: none;
    border-radius: 0;
    transition: right 220ms cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 24px rgba(20, 15, 40, 0.04);
  }


  .category-sidebar.open {
    right: 0;
  }


  .sidebar-close {
    display: block;
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

  .marketplace-toolbar {
    flex-direction: column;
  }


  .search-bar {
    width: 100%;
  }


  .sort-select {
    width: 100%;
  }


  .sort-select select {
    width: 100%;
  }


  .app-grid {
    grid-template-columns: 1fr;
  }


  .app-card {
    padding: 18px;
  }

}


.how-it-works{
    padding: 40px 0 60px;
    background: #F6F5FB;
}

.works-section-head{
    max-width: 850px;
    margin: 0 auto 44px;
    text-align: center;
}

.works-label{
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 15px;
    color: var(--primary);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.works-section-header{
    margin: 0 0 18px;
    color: var(--dark);
    font-family: "DM Sans", sans-serif;
    font-size: clamp(2rem, 3.2vw, 2.8rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -1px;
}

.steps-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.step-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 26px;
  display: flex;
  flex-direction: column;
}
.step-index {
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
}
.step-card-header {
  margin: 8px 0px 7px;
  font-size: 16px;
  font-weight: 600;
}

.step-card p {
  font-size: 14px;
  margin: 0;
  color: #666666;
}
@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 1024px) {
  .steps-track {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .section {
    padding: 60px 0;
  }
  .steps-track {
        grid-template-columns: 1fr;
   }
}




/* =========================================================
   HEROXHOST - APPLICATION SERVER SUPPORT
   Completely page/component scoped
========================================================= */


/* =========================================================
   GLOBAL SECTION
========================================================= */

.hxh-support-section {
    position: relative;

    width: 100%;

    padding: 80px 0 90px;

    background: var(--bg, #ffffff);

    color: var(--text-primary, #111111);

    overflow: hidden;
}


.hxh-support-container {
    width: min(1180px, calc(100% - 40px));

    margin: 0 auto;
}


/* =========================================================
   SECTION HEADER
========================================================= */

.hxh-support-header {
    max-width: 820px;

    margin: 0 auto 52px;

    text-align: center;
}


.hxh-support-eyebrow {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 10px;

    color: var(
        --primary,
        #673de6
    );

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}


.hxh-support-title {
    margin: 0 0 12px;

    color: var(
        --text-primary,
        #111111
    );

    font-size: clamp(
        2rem,
        4vw,
        2.7rem
    );

    font-weight: 600;

    line-height: 1.15;

    letter-spacing: -0.035em;
}


.hxh-support-description {
    max-width: 720px;

    margin: 0 auto;

    color: var(
        --text-secondary,
        #666666
    );

    font-size: 15px;

    line-height: 1.65;
}


/* =========================================================
   MAIN LAYOUT
========================================================= */

.hxh-support-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap: 48px;

    align-items: center;
}


/* =========================================================
   LEFT INFORMATION AREA
========================================================= */

.hxh-support-info {
    display: flex;

    flex-direction: column;

    gap: 12px;
}


/* =========================================================
   INFORMATION CARDS
========================================================= */

.hxh-support-info-card {
    position: relative;

    display: flex;

    align-items: flex-start;

    gap: 16px;

    width: 100%;

    min-height: 88px;

    padding: 20px;

    border: 1px solid var(
        --border,
        rgba(11, 11, 18, 0.10)
    );

    border-radius: 16px;

    background: var(
        --bg-card,
        #ffffff
    );

    box-shadow:
        0 6px 24px rgba(
            20,
            15,
            40,
            0.035
        );

    transition:
        border-color var(--transition, 220ms ease),
        background var(--transition, 220ms ease),
        box-shadow var(--transition, 220ms ease);
}


.hxh-support-info-card:hover {
    border-color: rgba(
        103,
        61,
        230,
        0.22
    );

    background: var(
        --bg-card-hover,
        #f9f8ff
    );

    box-shadow:
        0 10px 28px rgba(
            20,
            15,
            40,
            0.055
        );
}


.hxh-support-info-card-primary {
    border-color: var(
        --primary,
        #673de6
    );

    background:
        linear-gradient(
            135deg,
            rgba(103, 61, 230, 0.055),
            rgba(103, 61, 230, 0.015)
        );
}


/* =========================================================
   INFORMATION ICON
========================================================= */

.hxh-support-info-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;

    flex: 0 0 44px;

    border-radius: 12px;

    background:
        var(
            --primary-light,
            #f3f0ff
        );

    color: var(
        --primary,
        #673de6
    );
}


.hxh-support-info-card-primary
.hxh-support-info-icon {
    background:
        var(
            --primary,
            #673de6
        );

    color: #ffffff;
}


/* =========================================================
   INFORMATION CONTENT
========================================================= */

.hxh-support-info-content {
    min-width: 0;

    flex: 1;
}


.hxh-support-info-heading {
    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 5px;

    color: var(
        --text-primary,
        #111111
    );

    font-size: 15px;

    font-weight: 600;

    line-height: 1.35;
}


.hxh-support-info-content p {
    margin: 0;

    color: var(
        --text-secondary,
        #666666
    );

    font-size: 13px;

    line-height: 1.55;
}


.hxh-support-info-content p strong {
    color: var(
        --text-primary,
        #111111
    );

    font-weight: 600;
}


/* =========================================================
   STATUS PILL
========================================================= */

.hxh-support-status-pill {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 4px 8px;

    border-radius: 999px;

    background: rgba(
        34,
        197,
        94,
        0.10
    );

    color: var(
        --success,
        #16a34a
    );

    font-size: 8px;

    font-weight: 700;

    letter-spacing: 0.04em;

    white-space: nowrap;
}


/* =========================================================
   HELP LIST
========================================================= */

.hxh-support-help-card {
    min-height: 156px;
}


.hxh-support-help-list {
    display: flex;

    flex-direction: column;

    gap: 7px;

    margin: 10px 0 0;

    padding: 0;

    list-style: none;
}


.hxh-support-help-list li {
    display: flex;

    align-items: center;

    gap: 8px;

    color: var(
        --text-secondary,
        #666666
    );

    font-size: 12px;

    line-height: 1.4;
}


.hxh-support-help-list li span {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 15px;
    height: 15px;

    flex: 0 0 15px;

    border-radius: 50%;

    background: #22c55e;

    color: #ffffff;

    font-size: 9px;

    font-weight: 700;
}


/* =========================================================
   SATISFACTION CARD
========================================================= */

.hxh-support-satisfaction {
    display: flex;

    align-items: center;

    gap: 18px;

    min-height: 86px;

    padding: 18px 20px;

    border: 1px solid var(
        --border,
        rgba(11, 11, 18, 0.10)
    );

    border-radius: 16px;

    background: var(
        --bg-card,
        #ffffff
    );

    box-shadow:
        0 6px 24px rgba(
            20,
            15,
            40,
            0.035
        );
}


.hxh-support-satisfaction-number {
    color: #16a34a;

    font-size: 42px;

    font-weight: 500;

    line-height: 1;

    letter-spacing: -0.06em;
}


.hxh-support-satisfaction-number span {
    font-size: 25px;

    font-weight: 600;
}


.hxh-support-satisfaction-content {
    display: flex;

    flex-direction: column;

    gap: 3px;
}


.hxh-support-satisfaction-content strong {
    color: var(
        --text-primary,
        #111111
    );

    font-size: 13px;

    font-weight: 600;
}


.hxh-support-satisfaction-content span {
    color: var(
        --text-secondary,
        #666666
    );

    font-size: 11px;

    line-height: 1.4;
}


/* =========================================================
   CHAT WRAPPER
========================================================= */

.hxh-support-chat-wrapper {
    min-width: 0;
}


/* =========================================================
   CHAT WINDOW
========================================================= */

.hxh-support-chat {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 500px;
    overflow: hidden;
    border: 1px solid rgba(
        11,
        11,
        18,
        0.08
    );
    border-radius: 18px;
    background: #ffffff;
}


/* =========================================================
   CHAT HEADER
========================================================= */

.hxh-support-chat-header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    min-height: 66px;

    padding: 12px 16px;

    background:
        var(
            --primary,
            #673de6
        );

    color: #ffffff;
}


.hxh-support-agent {
    display: flex;

    align-items: center;

    gap: 11px;

    min-width: 0;
}


.hxh-support-agent-avatar {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    flex: 0 0 38px;

    border: 2px solid rgba(
        255,
        255,
        255,
        0.18
    );

    border-radius: 50%;

    background:
        rgba(
            255,
            255,
            255,
            0.13
        );

    color: #ffffff;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: -0.02em;
}


.hxh-support-agent-details {
    display: flex;

    flex-direction: column;

    min-width: 0;
}


.hxh-support-agent-details strong {
    font-size: 13px;

    font-weight: 600;

    line-height: 1.3;
}


.hxh-support-agent-details span {
    display: flex;

    align-items: center;

    gap: 5px;

    margin-top: 2px;

    color: rgba(
        255,
        255,
        255,
        0.82
    );

    font-size: 10px;

    line-height: 1.3;
}


.hxh-support-agent-details span i {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: #22c55e;

    box-shadow:
        0 0 0 3px rgba(
            34,
            197,
            94,
            0.16
        );
}


/* =========================================================
   CHAT ACTIONS
========================================================= */

.hxh-support-chat-actions {
    display: flex;

    align-items: center;

    gap: 6px;
}


.hxh-support-chat-action {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 28px;
    height: 28px;

    padding: 0;

    border: 0;

    border-radius: 7px;

    background:
        rgba(
            255,
            255,
            255,
            0.12
        );

    color: #ffffff;

    font-size: 18px;

    line-height: 1;

    cursor: pointer;

    transition:
        background var(--transition, 220ms ease);
}


.hxh-support-chat-action:hover {
    background:
        rgba(
            255,
            255,
            255,
            0.20
        );
}


/* =========================================================
   CHAT BODY
========================================================= */

.hxh-support-chat-body {
    position: relative;

    flex: 1;

    min-height: 0;

    padding: 20px 16px;

    overflow: hidden;

    background:
        #f7f9fd;

    scroll-behavior: smooth;
}


/* =========================================================
   CHAT MESSAGE ROW
========================================================= */

.hxh-support-message-row {
    display: flex;

    width: 100%;

    margin-bottom: 14px;

    animation:
        hxhSupportMessageIn
        320ms ease both;
}


.hxh-support-message-row-customer {
    justify-content: flex-end;
}


.hxh-support-message-row-support {
    justify-content: flex-start;
}


/* =========================================================
   CHAT AVATAR
========================================================= */

.hxh-support-message-avatar {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 32px;
    height: 32px;

    flex: 0 0 32px;

    margin-right: 9px;

    margin-top: 2px;

    border-radius: 50%;

    background:
        #e3eaf5;

    color:
        var(
            --primary,
            #673de6
        );

    font-size: 9px;

    font-weight: 700;
}


.hxh-support-message-row-customer
.hxh-support-message-avatar {
    order: 2;

    margin-right: 0;

    margin-left: 9px;

    background:
        var(
            --primary-light,
            #f3f0ff
        );

    color:
        var(
            --primary,
            #673de6
        );
}


/* =========================================================
   MESSAGE COLUMN
========================================================= */

.hxh-support-message-column {
    display: flex;

    flex-direction: column;

    max-width: 78%;
}


.hxh-support-message-row-customer
.hxh-support-message-column {
    align-items: flex-end;
}


/* =========================================================
   MESSAGE META
========================================================= */

.hxh-support-message-meta {
    display: flex;

    align-items: center;

    gap: 5px;

    margin: 0 0 5px 4px;

    color:
        var(
            --text-secondary,
            #777777
        );

    font-size: 9px;
}


.hxh-support-message-row-customer
.hxh-support-message-meta {
    margin:
        0
        4px
        5px
        0;
}


.hxh-support-message-meta strong {
    color:
        var(
            --primary,
            #673de6
        );

    font-size: 9px;

    font-weight: 600;
}


.hxh-support-message-role {
    padding: 2px 5px;

    border-radius: 999px;

    background:
        rgba(
            103,
            61,
            230,
            0.08
        );

    color:
        var(
            --primary,
            #673de6
        );

    font-size: 7px;

    font-weight: 600;
}


/* =========================================================
   MESSAGE BUBBLE
========================================================= */

.hxh-support-message {
    position: relative;

    min-height: 40px;

    padding: 10px 13px;

    border: 1px solid rgba(
        11,
        11,
        18,
        0.08
    );

    border-radius: 15px;

    background: #ffffff;

    color:
        var(
            --text-primary,
            #111111
        );

    font-size: 12px;

    line-height: 1.55;

    box-shadow:
        0 3px 12px rgba(
            20,
            15,
            40,
            0.045
        );
}


.hxh-support-message-row-support
.hxh-support-message {
    border-top-left-radius: 5px;
}


.hxh-support-message-row-customer
.hxh-support-message {
    border: 0;

    border-top-right-radius: 5px;

    background:
        var(
            --primary,
            #673de6
        );

    color: #ffffff;

    box-shadow:
        0 7px 18px rgba(
            103,
            61,
            230,
            0.18
        );
}


/* =========================================================
   TYPING CURSOR
========================================================= */

.hxh-support-typing-cursor {
    display: inline-block;

    width: 1px;

    height: 13px;

    margin-left: 2px;

    vertical-align: -2px;

    background:
        currentColor;

    animation:
        hxhSupportCursor
        700ms steps(1)
        infinite;
}


/* =========================================================
   MESSAGE STATUS
========================================================= */

.hxh-support-message-status {
    display: flex;

    align-items: center;

    gap: 4px;

    margin-top: 4px;

    color:
        var(
            --text-secondary,
            #888888
        );

    font-size: 8px;
}


.hxh-support-message-status span {
    letter-spacing: -2px;

    color:
        var(
            --primary,
            #673de6
        );

    font-size: 9px;
}


/* =========================================================
   TYPING INDICATOR
========================================================= */

.hxh-support-typing-row {
    display: flex;

    align-items: flex-end;

    gap: 9px;

    margin-bottom: 14px;

    animation:
        hxhSupportMessageIn
        300ms ease both;
}


.hxh-support-typing-avatar {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 32px;
    height: 32px;

    flex: 0 0 32px;

    border-radius: 50%;

    background:
        #e3eaf5;

    color:
        var(
            --primary,
            #673de6
        );

    font-size: 9px;

    font-weight: 700;
}


.hxh-support-typing {
    display: flex;

    align-items: center;

    gap: 4px;

    min-width: 54px;

    padding: 12px 14px;

    border: 1px solid rgba(
        11,
        11,
        18,
        0.07
    );

    border-radius: 14px;

    border-top-left-radius: 5px;

    background: #ffffff;

    box-shadow:
        0 3px 12px rgba(
            20,
            15,
            40,
            0.04
        );
}


.hxh-support-typing-dot {
    width: 5px;
    height: 5px;

    border-radius: 50%;

    background:
        #8b95a7;

    animation:
        hxhSupportTypingDot
        1.1s infinite ease-in-out;
}


.hxh-support-typing-dot:nth-child(2) {
    animation-delay: 120ms;
}


.hxh-support-typing-dot:nth-child(3) {
    animation-delay: 240ms;
}


/* =========================================================
   CHAT FOOTER
========================================================= */

.hxh-support-chat-footer {
    display: flex;

    align-items: center;

    gap: 10px;

    min-height: 62px;

    padding: 10px 16px;

    border-top: 1px solid rgba(
        11,
        11,
        18,
        0.08
    );

    background: #ffffff;
}


.hxh-support-chat-input {
    display: flex;

    align-items: center;

    flex: 1;

    min-width: 0;

    min-height: 40px;

    padding: 0 2px;

    color:
        var(
            --text-secondary,
            #888888
        );

    font-size: 12px;

    white-space: nowrap;

    overflow: hidden;
}


.hxh-support-input-cursor {
    display: none;

    width: 1px;

    height: 14px;

    margin-left: 2px;

    background:
        var(
            --primary,
            #673de6
        );

    animation:
        hxhSupportCursor
        700ms steps(1)
        infinite;
}


.hxh-support-input-cursor.active {
    display: inline-block;
}


.hxh-support-send-button {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    flex: 0 0 38px;

    padding: 0;

    border: 0;

    border-radius: 11px;

    background:
        var(
            --primary,
            #673de6
        );

    color: #ffffff;

    cursor: pointer;

    transition:
        transform var(--transition, 220ms ease),
        background var(--transition, 220ms ease),
        box-shadow var(--transition, 220ms ease);
}


.hxh-support-send-button:hover {
    background:
        var(
            --primary-dark,
            #5025c4
        );

    transform: translateY(-1px);

    box-shadow:
        0 7px 18px rgba(
            103,
            61,
            230,
            0.20
        );
}


.hxh-support-send-button.sending {
    animation:
        hxhSupportSendPulse
        450ms ease;
}


/* =========================================================
   REVIEWS
========================================================= */

.hxh-support-reviews {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 10px;

    margin-top: 12px;
}


.hxh-support-review {
    display: flex;

    align-items: center;

    gap: 6px;

    min-width: 0;

    min-height: 39px;

    padding: 8px 13px;

    border: 1px solid var(
        --border,
        rgba(11, 11, 18, 0.09)
    );

    border-radius: 10px;

    background:
        var(
            --bg-card,
            #ffffff
        );

    color:
        var(
            --text-secondary,
            #666666
        );

    font-size: 9px;
}


.hxh-support-review-brand {
    color: #4285f4;

    font-size: 13px;

    font-weight: 600;

    letter-spacing: -0.04em;
}


.hxh-support-review-g {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 15px;
    height: 15px;

    border-radius: 4px;

    background:
        var(
            --text-primary,
            #111111
        );

    color: #ffffff;

    font-size: 9px;
}


.hxh-support-review-stars {
    color: #f59e0b;

    font-size: 10px;

    letter-spacing: -1px;
}


.hxh-support-review strong {
    color:
        var(
            --text-primary,
            #111111
        );

    font-size: 10px;

    font-weight: 600;
}


.hxh-support-review > span {
    white-space: nowrap;
}


/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes hxhSupportMessageIn {

    from {
        opacity: 0;

        transform:
            translateY(8px)
            scale(0.985);
    }

    to {
        opacity: 1;

        transform:
            translateY(0)
            scale(1);
    }

}


@keyframes hxhSupportTypingDot {

    0%,
    60%,
    100% {
        opacity: 0.35;

        transform:
            translateY(0);
    }

    30% {
        opacity: 1;

        transform:
            translateY(-3px);
    }

}


@keyframes hxhSupportCursor {

    0%,
    49% {
        opacity: 1;
    }

    50%,
    100% {
        opacity: 0;
    }

}


@keyframes hxhSupportSendPulse {

    0% {
        transform: scale(1);
    }

    45% {
        transform: scale(0.88);
    }

    100% {
        transform: scale(1);
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 980px) {

    .hxh-support-layout {
        grid-template-columns: 1fr;

        gap: 36px;
    }


    .hxh-support-info {
        display: grid;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .hxh-support-satisfaction {
        grid-column: span 2;
    }


    .hxh-support-chat {
        max-width: 720px;

        margin: 0 auto;
    }


    .hxh-support-reviews {
        max-width: 720px;

        margin-left: auto;
        margin-right: auto;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 640px) {

    .hxh-support-section {
        padding: 60px 0 70px;
    }


    .hxh-support-container {
        width: min(
            100% - 28px,
            1180px
        );
    }


    .hxh-support-header {
        margin-bottom: 34px;
    }


    .hxh-support-title {
        font-size: 2rem;
    }


    .hxh-support-description {
        font-size: 14px;
    }


    .hxh-support-info {
        display: flex;

        flex-direction: column;

        gap: 10px;
    }


    .hxh-support-satisfaction {
        grid-column: auto;
    }


    .hxh-support-info-card {
        padding: 17px;
    }


    .hxh-support-help-card {
        min-height: auto;
    }


    .hxh-support-chat {
        height: 470px;

        border-radius: 16px;
    }


    .hxh-support-chat-body {
        padding: 16px 12px;
    }


    .hxh-support-message-column {
        max-width: 84%;
    }


    .hxh-support-message {
        font-size: 11px;

        padding: 9px 11px;
    }


    .hxh-support-reviews {
        grid-template-columns: 1fr;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .hxh-support-info-heading {
        align-items: flex-start;

        flex-direction: column;

        gap: 5px;
    }


    .hxh-support-status-pill {
        align-self: flex-start;
    }


    .hxh-support-satisfaction-number {
        font-size: 36px;
    }


    .hxh-support-chat {
        height: 450px;
    }


    .hxh-support-agent-details strong {
        font-size: 12px;
    }


    .hxh-support-agent-details span {
        font-size: 9px;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .hxh-support-info-card,
    .hxh-support-send-button,
    .hxh-support-chat-action {
        transition: none;
    }


    .hxh-support-message-row,
    .hxh-support-typing-row,
    .hxh-support-typing-dot,
    .hxh-support-typing-cursor,
    .hxh-support-input-cursor {
        animation: none;
    }

}