/* AdPulse Media - site additions on top of the Plexify theme.
   Kept deliberately small: layout reuses theme utility classes,
   only form controls / article prose / page banner live here. */

/* ---------- Page banner (inner page hero) ---------- */
.page-banner {
    position: relative;
    padding: 190px 0 80px;
    background: linear-gradient(180deg, rgba(110, 255, 110, .18) 0%, rgba(1, 1, 1, 0) 100%);
    overflow: hidden;
}

html:not(.dark) .page-banner {
    background: linear-gradient(180deg, rgba(110, 255, 110, .35) 0%, rgba(255, 255, 255, 0) 100%);
}

@media (max-width: 767px) {
    .page-banner {
        padding: 140px 0 50px;
    }
}

.breadcrumb-row ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.breadcrumb-row ul li a {
    color: var(--primary);
}

.breadcrumb-row ul li a:hover {
    text-decoration: underline;
}

.breadcrumb-row ul li+li::before {
    content: "/";
    margin-right: 8px;
    opacity: .5;
}

/* ---------- Forms ---------- */
.site-form .form-group {
    margin-bottom: 20px;
}

.site-form label {
    display: block;
    margin-bottom: 8px;
    font-size: 15px;
    font-weight: 500;
    color: var(--title);
}

html:not(.dark) .site-form label {
    color: #171717;
}

.site-form .form-input {
    width: 100%;
    padding: 16px 20px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .15);
    background: rgba(255, 255, 255, .04);
    color: #fff;
    font-family: inherit;
    font-size: 16px;
    line-height: 1.5;
    outline: none;
    transition: border-color .25s, background .25s;
}

html:not(.dark) .site-form .form-input {
    border-color: rgba(0, 0, 0, .15);
    background: rgba(0, 0, 0, .03);
    color: #171717;
}

.site-form .form-input::placeholder {
    color: rgba(255, 255, 255, .4);
}

html:not(.dark) .site-form .form-input::placeholder {
    color: rgba(0, 0, 0, .4);
}

.site-form .form-input:focus {
    border-color: var(--primary);
    background: rgba(110, 255, 110, .06);
}

.site-form select.form-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%236EFF6E' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    padding-right: 48px;
}

.site-form select.form-input option {
    background: #171717;
    color: #fff;
}

.site-form textarea.form-input {
    min-height: 140px;
    resize: vertical;
}

.site-form .form-input.is-invalid {
    border-color: #ff5b5b;
}

.site-form .field-error {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: #ff7b7b;
}

.site-form .form-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.5;
}

.site-form .form-consent input {
    margin-top: 4px;
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
    flex: 0 0 auto;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 34px;
    border: 0;
    border-radius: 50px;
    background: linear-gradient(270deg, #ABFF84 0%, #0AE448 100%);
    color: #000;
    font-size: 17px;
    font-weight: 500;
    cursor: pointer;
    transition: filter .25s, transform .25s;
}

.btn-submit:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
}

.btn-submit[disabled] {
    opacity: .6;
    cursor: not-allowed;
    transform: none;
}

/* ---------- Form response message ---------- */
.form-response {
    display: none;
    margin-top: 24px;
    padding: 22px 26px;
    border-radius: 12px;
    border: 1px solid var(--primary);
    background: rgba(110, 255, 110, .09);
    color: var(--title);
}

html:not(.dark) .form-response {
    color: #171717;
}

.form-response.is-visible {
    display: block;
}

.form-response.is-error {
    border-color: #ff5b5b;
    background: rgba(255, 91, 91, .09);
}

.form-response strong {
    display: block;
    margin-bottom: 6px;
    font-size: 20px;
    color: var(--primary);
}

.form-response.is-error strong {
    color: #ff7b7b;
}

/* ---------- Article body ---------- */
.post-body h2 {
    font-size: 36px;
    line-height: 1.25;
    margin: 48px 0 18px;
}

.post-body h3 {
    font-size: 26px;
    line-height: 1.3;
    margin: 36px 0 14px;
}

.post-body p {
    margin-bottom: 20px;
    font-size: 18px;
    line-height: 1.75;
}

.post-body ul,
.post-body ol {
    margin: 0 0 24px 22px;
    font-size: 18px;
    line-height: 1.75;
}

.post-body ul li {
    list-style: disc;
    margin-bottom: 10px;
}

.post-body ol li {
    list-style: decimal;
    margin-bottom: 10px;
}

.post-body blockquote {
    margin: 32px 0;
    padding: 24px 28px;
    border-left: 4px solid var(--primary);
    background: rgba(110, 255, 110, .06);
    border-radius: 0 10px 10px 0;
    font-size: 20px;
    line-height: 1.6;
}

.post-body strong {
    color: var(--title);
}

html:not(.dark) .post-body strong {
    color: #171717;
}

.post-body table {
    width: 100%;
    margin-bottom: 28px;
    border-collapse: collapse;
    font-size: 16px;
}

.post-body th,
.post-body td {
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, .14);
    text-align: left;
}

html:not(.dark) .post-body th,
html:not(.dark) .post-body td {
    border-color: rgba(0, 0, 0, .14);
}

.post-body th {
    background: rgba(110, 255, 110, .08);
    color: var(--title);
}

@media (max-width: 767px) {
    .post-body h2 {
        font-size: 28px;
    }

    .post-body h3 {
        font-size: 22px;
    }

    .post-body p,
    .post-body ul,
    .post-body ol {
        font-size: 17px;
    }
}

/* ---------- Funnel stage list ---------- */
.funnel-stage {
    position: relative;
    padding: 30px 30px 30px 96px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, .1);
    background: var(--card);
    height: 100%;
}

html:not(.dark) .funnel-stage {
    border-color: rgba(0, 0, 0, .1);
    background: #f6f6f6;
}

.funnel-stage .stage-no {
    position: absolute;
    top: 30px;
    left: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(270deg, #ABFF84 0%, #0AE448 100%);
    color: #000;
    font-size: 18px;
    font-weight: 600;
}

@media (max-width: 575px) {
    .funnel-stage {
        padding: 90px 22px 26px;
    }

    .funnel-stage .stage-no {
        top: 24px;
        left: 22px;
    }
}

/* ---------- Simple bordered feature box ---------- */
.feature-box {
    height: 100%;
    padding: 34px 30px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, .1);
    background: var(--card);
    transition: border-color .3s, transform .3s;
}

html:not(.dark) .feature-box {
    border-color: rgba(0, 0, 0, .1);
    background: #f6f6f6;
}

.feature-box:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.feature-box .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 20px;
    border-radius: 50%;
    background: rgba(110, 255, 110, .12);
    color: var(--primary);
    font-size: 24px;
}

/* ---------- Utilities the compiled Tailwind build does not include ----------
   The theme ships a pre-built CSS file with no Tailwind toolchain, so any
   utility the original markup never used has to be declared by hand. */
.border-0 { border-width: 0; }
.h-200 { height: 200px; }
.mt-50 { margin-top: 50px; }
.self-start { align-self: flex-start; }
.max-w-700 { max-width: 700px; }
.max-w-750 { max-width: 750px; }
.text-5xl { font-size: var(--text-5xl); line-height: var(--text-5xl--line-height); }
.right-\[24\%\] { right: 24%; }
.text-secondary\/70 { color: color-mix(in srgb, var(--secondary) 70%, transparent); }
.text-secondary\/80 { color: color-mix(in srgb, var(--secondary) 80%, transparent); }

@media (width >= 768px) {
    .md\:col-span-3 { grid-column: span 3 / span 3; }
    .md\:text-6xl { font-size: var(--text-6xl); line-height: var(--text-6xl--line-height); }
}

@media (width >= 992px) {
    .lg\:text-right { text-align: right; }
}

@media (width >= 1200px) {
    .xl\:gap-60 { gap: 60px; }
}

/* inline code inside article bodies */
.post-body code {
    padding: 2px 7px;
    border-radius: 5px;
    background: rgba(110, 255, 110, .12);
    color: var(--primary);
    font-size: .92em;
}

/* ---------- Language toggle (EN / BM), next to the light/dark switch ---------- */
.lang-toggle {
    gap: 2px;
    padding: 4px;
    background: rgba(255, 255, 255, .08);
}

html:not(.dark) .lang-toggle {
    background: rgba(0, 0, 0, .06);
}

.lang-toggle .lang-btn {
    padding: 6px 12px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: inherit;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .02em;
    cursor: pointer;
    opacity: .55;
    transition: opacity .2s, background .2s, color .2s;
}

.lang-toggle .lang-btn:hover {
    opacity: .85;
}

.lang-toggle .lang-btn.active {
    opacity: 1;
    background: var(--primary);
    color: var(--secondary);
}
