/***** Homepage marketing styling *****/
.editor-styles-wrapper .alignwide {
    max-width: min(1080px, 100%);
    margin-left: auto !important;
    margin-right: auto !important;
}

.editor-styles-wrapper .alignfull {
    max-width: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.marketing-homepage {
    position: relative;
    overflow: clip;
}

.marketing-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    margin: 0;
    padding: clamp(5rem, 10vw, 8rem) 0 clamp(4rem, 8vw, 6rem);
    background:
        linear-gradient(135deg, rgba(8, 16, 51, 0.86), rgba(36, 26, 83, 0.7)),
        url("../assets/images/hero-bg-stars.png") no-repeat center top / cover,
        linear-gradient(135deg, #071032, #171d4a 48%, #24195a 100%);
}

.marketing-hero::before {
    content: "";
    position: absolute;
    inset: auto -10% -14rem;
    height: 24rem;
    background:
        radial-gradient(circle at 30% 30%, rgba(255, 155, 108, 0.26), transparent 55%),
        linear-gradient(90deg, rgba(131, 108, 255, 0.18), rgba(255, 255, 255, 0));
    filter: blur(20px);
    opacity: 0.9;
    z-index: 1;
}

.marketing-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 11rem;
    background: linear-gradient(180deg, rgba(9, 17, 51, 0), rgba(9, 17, 51, 0.85));
    z-index: 1;
}

.marketing-hero__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(400px, 1.08fr);
    gap: clamp(1.5rem, 4vw, 3.25rem);
    align-items: center;
}

.marketing-hero__copy,
.marketing-hero__visual {
    position: relative;
    z-index: 2;
    min-width: 0;
    width: 100%;
}

.marketing-hero__eyebrow {
    margin: 0;
    color: rgba(245, 247, 255, 0.88);
    font-family: var(--heading-font);
    font-size: 0.98rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.marketing-hero__title {
    margin: 1rem 0 1.5rem;
    font-family: var(--heading-font);
    font-size: clamp(2.9rem, 5vw, 4.9rem);
    line-height: 0.98;
    letter-spacing: -0.06em;
    max-width: 12ch;
}

.marketing-hero__title span {
    display: block;
}

.marketing-hero__title strong {
    color: var(--accent);
    font-weight: 700;
}

.marketing-hero__description {
    max-width: 42rem;
}

.marketing-hero__description p {
    margin: 0 0 0.8rem;
    color: rgba(245, 247, 255, 0.9);
    font-size: clamp(1.08rem, 1.75vw, 1.45rem);
    line-height: 1.6;
}

.marketing-hero__actions {
    margin-top: 2.2rem;
}

.marketing-trust {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.95rem 1.4rem;
    padding: 0;
    margin: 2.3rem 0 0;
    color: rgba(245, 247, 255, 0.88);
    font-family: var(--heading-font);
    font-size: 1rem;
}

.marketing-trust li {
    position: relative;
    padding-left: 1.2rem;
}

.marketing-trust li::before {
    content: "";
    position: absolute;
    top: 0.45rem;
    left: 0;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), #ffd4bf);
    box-shadow: 0 0 20px rgba(242, 123, 82, 0.5);
}

.marketing-hero__visual {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.marketing-hero__device {
    position: relative;
    width: min(100%, 37rem);
    margin: 0;
    overflow: hidden;
}

.marketing-hero__device::before {
    content: "";
    position: absolute;
    inset: auto 10% 6% 16%;
    height: 18%;
    background: radial-gradient(circle, rgba(255, 155, 108, 0.46), rgba(255, 155, 108, 0));
    filter: blur(34px);
    z-index: -1;
}

.marketing-hero__device img {
    display: block;
    width: 138%;
    max-width: none;
    height: auto;
    margin-left: -31%;
    border-radius: 0;
    filter:
        drop-shadow(0 28px 42px rgba(4, 8, 24, 0.34))
        saturate(1.04)
        contrast(1.02);
}

.marketing-homepage__body {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: minmax(0, 1.16fr) minmax(290px, 340px);
    gap: 1.5rem;
    margin-top: -1.8rem;
    padding-bottom: 4rem;
}

.marketing-homepage__main {
    display: grid;
    gap: 2rem;
}

.marketing-homepage__aside {
    display: grid;
    gap: 1.5rem;
    align-content: start;
}

.marketing-section {
    display: grid;
    gap: 1.2rem;
}

.marketing-section--split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    align-items: start;
}

.marketing-section__content {
    display: grid;
    gap: 1.15rem;
}

.marketing-homepage .section-heading {
    margin: 0;
    font-size: clamp(2rem, 3vw, 3rem);
}

.marketing-benefits__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
}

.marketing-benefits__grid--compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.marketing-card {
    position: relative;
    min-height: 100%;
    padding: 1.35rem;
    overflow: hidden;
}

.marketing-card--feature {
    min-height: 16.5rem;
    padding: 1.55rem 1.35rem 1.5rem;
}

.marketing-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0));
    opacity: 0.7;
    pointer-events: none;
}

.marketing-card h3,
.marketing-process__step h3,
.marketing-pricing__title,
.marketing-support h2,
.marketing-final-cta h2 {
    margin: 0 0 0.65rem;
    font-family: var(--heading-font);
    font-weight: 700;
    letter-spacing: -0.03em;
}

.marketing-card h3 {
    font-size: 1.02rem;
    line-height: 1.2;
}

.marketing-card--feature h3 {
    margin-bottom: 0.8rem;
    font-size: 0.98rem;
    line-height: 1.24;
}

.marketing-card p,
.marketing-process__step p,
.marketing-support p,
.marketing-final-cta p {
    margin: 0;
    color: rgba(245, 247, 255, 0.8);
    line-height: 1.55;
}

.marketing-card p {
    font-size: 0.95rem;
}

.marketing-card--feature p {
    font-size: 0.9rem;
    line-height: 1.65;
    max-width: 15ch;
}

.marketing-process {
    display: grid;
    gap: 0.9rem;
}

.marketing-process__step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: start;
    padding: 1.3rem 1.45rem;
}

.marketing-process__number {
    width: 3rem;
    height: 3rem;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    border: 1px solid rgba(242, 123, 82, 0.5);
    background: rgba(7, 14, 44, 0.84);
    color: #fff;
    font-family: var(--heading-font);
    font-size: 1.2rem;
    box-shadow: 0 0 18px rgba(242, 123, 82, 0.22);
}

.marketing-pricing,
.marketing-support {
    backdrop-filter: blur(18px);
}

.marketing-pricing {
    position: sticky;
    top: 6.8rem;
    padding: 1.7rem;
}

.marketing-pricing__eyebrow {
    margin: 0 0 0.6rem;
    color: rgba(245, 247, 255, 0.68);
    font-family: var(--heading-font);
    font-size: 0.95rem;
}

.marketing-pricing__title {
    font-size: clamp(1.9rem, 3vw, 2.7rem);
    line-height: 0.95;
    margin-bottom: 1.1rem;
}

.marketing-pricing__list {
    list-style: none;
    display: grid;
    gap: 0.85rem;
    margin: 0 0 1.6rem;
    padding: 0;
}

.marketing-pricing__list li {
    position: relative;
    padding-left: 1.8rem;
    color: rgba(245, 247, 255, 0.88);
    font-size: 1.02rem;
}

.marketing-pricing__list li::before {
    content: "";
    position: absolute;
    left: 0.18rem;
    top: 0.34rem;
    width: 0.48rem;
    height: 0.82rem;
    border-right: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent);
    transform: rotate(40deg);
}

.marketing-pricing .button,
.marketing-support .button {
    width: 100%;
    justify-content: center;
}

.marketing-support {
    display: grid;
    gap: 1rem;
    padding: 1.45rem;
}

.marketing-support h2 {
    font-size: 1.4rem;
    line-height: 1.35;
}

.marketing-support__meta {
    display: grid;
    gap: 0.85rem;
    color: rgba(245, 247, 255, 0.72);
    font-size: 0.96rem;
}

.marketing-final-cta {
    position: relative;
    z-index: 2;
    margin-top: 1rem;
    padding: 0 0 4rem;
}

.marketing-final-cta__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: clamp(1.6rem, 4vw, 2.4rem);
    border-radius: 2rem;
    background: linear-gradient(135deg, rgba(20, 28, 77, 0.96), rgba(42, 32, 95, 0.94));
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 28px 54px rgba(5, 10, 30, 0.42);
}

.marketing-final-cta__inner > div:first-child {
    max-width: 42rem;
}

.marketing-final-cta__actions {
    display: grid;
    gap: 0.8rem;
    justify-items: start;
    color: rgba(245, 247, 255, 0.72);
    font-size: 0.95rem;
}

.marketing-homepage__content {
    padding-top: 0;
}

.marketing-homepage .card,
.marketing-homepage .marketing-pricing,
.marketing-homepage .marketing-support,
.marketing-homepage .marketing-final-cta__inner {
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.marketing-homepage .card:hover,
.marketing-homepage .marketing-pricing:hover,
.marketing-homepage .marketing-support:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 56px rgba(6, 11, 34, 0.46);
    border-color: rgba(255, 255, 255, 0.16);
}

.hero.is-booting .marketing-hero__copy,
.hero.is-booting .marketing-hero__visual {
    opacity: 0;
    transform: translateY(28px);
    filter: blur(6px);
}

.hero.is-activated .marketing-hero__copy {
    animation: marketing-hero-copy-boot 820ms cubic-bezier(0.24, 0.82, 0.25, 1) forwards;
}

.hero.is-activated .marketing-hero__visual {
    animation: marketing-hero-visual-boot 960ms cubic-bezier(0.26, 0.88, 0.32, 1.1) 60ms forwards;
}

@keyframes marketing-hero-copy-boot {
    0% {
        opacity: 0;
        transform: translateY(28px);
        filter: blur(6px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes marketing-hero-visual-boot {
    0% {
        opacity: 0;
        transform: translateY(32px) scale(0.98);
        filter: blur(8px);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@media (max-width: 1100px) {
    .marketing-benefits__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .marketing-homepage__body {
        grid-template-columns: 1fr;
        margin-top: -1.2rem;
    }

    .marketing-pricing {
        position: static;
    }

    .marketing-hero__inner {
        grid-template-columns: 1fr;
    }

    .marketing-hero__visual {
        justify-content: center;
    }

    .marketing-hero__device {
        width: min(100%, 34rem);
    }
}

@media (max-width: 820px) {
    .marketing-hero {
        padding-top: 4.5rem;
        padding-bottom: 4rem;
    }

    .marketing-section--split {
        grid-template-columns: 1fr;
    }

    .marketing-benefits__grid,
    .marketing-benefits__grid--compact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .marketing-final-cta__actions {
        width: 100%;
        justify-items: stretch;
    }

    .marketing-final-cta__actions .button {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .marketing-hero {
        padding-top: 4rem;
        padding-bottom: 3.4rem;
        background:
            linear-gradient(135deg, rgba(8, 16, 51, 0.94), rgba(36, 26, 83, 0.78)),
            url("../assets/images/hero-bg-stars.png") no-repeat center top / cover,
            linear-gradient(135deg, #071032, #171d4a 48%, #24195a 100%);
    }

    .marketing-hero__title {
        font-size: clamp(2.7rem, 14vw, 3.4rem);
        max-width: none;
    }

    .marketing-trust {
        gap: 0.7rem 1rem;
        font-size: 0.94rem;
    }

    .marketing-benefits__grid,
    .marketing-benefits__grid--compact {
        grid-template-columns: 1fr;
    }

    .marketing-process__step {
        grid-template-columns: 1fr;
    }

    .marketing-process__number {
        width: 2.6rem;
        height: 2.6rem;
    }

    .marketing-homepage__body {
        gap: 1.3rem;
    }

    .marketing-pricing,
    .marketing-support,
    .marketing-card,
    .marketing-process__step {
        padding: 1.25rem;
    }
}
