:root {
    --dma-primary-rgb: 123, 52, 206; /* #7B34CE */
    --guest-header-height: 78px;
}

/* ==========================================================================
   CTA buttons (shared)
   ========================================================================== */

.dma-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 30px;
    border-radius: 999px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
    transition: transform 200ms ease, box-shadow 200ms ease, background-color 200ms ease, color 200ms ease, border-color 200ms ease;
    line-height: 1;
}

.dma-cta:hover {
    text-decoration: none;
    transform: translateY(-1px);
}

.dma-cta--primary {
    background: rgb(var(--dma-primary-rgb));
    color: #FAFAFA;
    box-shadow: 0 12px 26px rgba(var(--dma-primary-rgb), 0.22);
}

.dma-cta--primary:hover {
    color: #FAFAFA;
    box-shadow: 0 18px 34px rgba(var(--dma-primary-rgb), 0.30);
}

.dma-cta--soft {
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.26);
    color: #FAFAFA;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.dma-cta--soft:hover {
    color: #FAFAFA;
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.34);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.dma-hero {
    position: relative;
    padding: 55px 0 100px;
    background: linear-gradient(135deg, #FAFAFA 0%, #FAFAFA 60%, rgba(var(--dma-primary-rgb), 0.4) 80%, rgba(var(--dma-primary-rgb), 0.5) 100%);
    display: flex;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
    overflow: hidden;
}

.dma-hero.dma-hero--logged-in {
    min-height: calc(100vh - var(--logged-in-header-height));
}

.dma-hero.dma-hero--guest {
    min-height: calc(100vh - var(--guest-header-height));
}

.dma-hero .container {
    position: relative;
    z-index: 1;
}

.dma-hero__pattern {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.dma-hero__circle {
    position: absolute;
    border-radius: 999px;
    border: 1px dashed rgba(26, 31, 54, 0.22);
    background: transparent;
    --dma-circle-shift-x: 0px;
    --dma-circle-shift-y: 0px;
    --dma-circle-tilt: 0deg;
    --dma-circle-duration: 14s;
    --dma-circle-delay: 0s;
    animation: dma-hero-circle-drift var(--dma-circle-duration) ease-in-out infinite;
    animation-delay: var(--dma-circle-delay);
    will-change: transform;
}

.dma-hero__circle--1 {
    top: -180px;
    left: -140px;
    width: 460px;
    height: 460px;
    --dma-circle-shift-x: 14px;
    --dma-circle-shift-y: -16px;
    --dma-circle-tilt: -1.4deg;
    --dma-circle-duration: 12s;
}

.dma-hero__circle--2 {
    top: 30px;
    right: -220px;
    width: 560px;
    height: 560px;
    border-color: rgba(26, 31, 54, 0.2);
    --dma-circle-shift-x: -16px;
    --dma-circle-shift-y: 12px;
    --dma-circle-tilt: 1.2deg;
    --dma-circle-duration: 13s;
    --dma-circle-delay: -5s;
}

.dma-hero__circle--3 {
    bottom: -320px;
    left: 10%;
    width: 760px;
    height: 760px;
    border-color: rgba(26, 31, 54, 0.18);
    --dma-circle-shift-x: 10px;
    --dma-circle-shift-y: 18px;
    --dma-circle-tilt: 0.9deg;
    --dma-circle-duration: 14s;
    --dma-circle-delay: -9s;
}

.dma-hero__circle--4 {
    bottom: 80px;
    right: 16%;
    width: 240px;
    height: 240px;
    border-color: rgba(26, 31, 54, 0.2);
    --dma-circle-shift-x: -12px;
    --dma-circle-shift-y: -14px;
    --dma-circle-tilt: -1.6deg;
    --dma-circle-duration: 10s;
    --dma-circle-delay: -3s;
}

.dma-hero__circle--5 {
    top: 170px;
    left: 31%;
    width: 170px;
    height: 170px;
    border-color: rgba(26, 31, 54, 0.22);
    --dma-circle-shift-x: 15px;
    --dma-circle-shift-y: 11px;
    --dma-circle-tilt: 1.8deg;
    --dma-circle-duration: 9s;
    --dma-circle-delay: -7s;
}

@keyframes dma-hero-circle-drift {
    0% {
        transform: translate3d(0, 0, 0) rotate(0deg);
    }
    50% {
        transform: translate3d(var(--dma-circle-shift-x), var(--dma-circle-shift-y), 0) rotate(var(--dma-circle-tilt));
    }
    100% {
        transform: translate3d(0, 0, 0) rotate(0deg);
    }
}

.dma-hero__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 60px;
    font-weight: 800;
    line-height: 1.15;
    color: #1A1F36;
    letter-spacing: -0.5px;
}

.dma-hero__title .text-muted {
    font-size: 36px;
    font-weight: 600;
}

.dma-text-primary {
    color: rgb(var(--dma-primary-rgb));
}

.dma-hero__subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    line-height: 1.7;
    color: #1A1F36;
    opacity: 0.7;
    margin-bottom: 40px;
    max-width: 520px;
}

.dma-hero__cta {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(110deg, #1a1f36 0%, #2d1f5e 55%, #6b2fa0 100%);
    color: #FAFAFA;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 24px rgba(var(--dma-primary-rgb), 0.3);
    letter-spacing: 0.3px;
}

.dma-hero__cta:hover {
    background: linear-gradient(110deg, #1a1f36 0%, #2d1f5e 55%, #6b2fa0 100%);
    color: #FAFAFA;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(var(--dma-primary-rgb), 0.4);
}

/* Hero — iPhone mockup */

.dma-phone {
    position: relative;
    width: 280px;
    height: 580px;
    background: #1A1F36;
    border-radius: 44px;
    padding: 5px;
    box-shadow: 6px 2px 0px 3px #000000,
    0 0 0 2px #2D1F5E,
    0 40px 80px rgba(45, 31, 94, 0.25),
    0 20px 40px rgba(var(--dma-primary-rgb), 0.15);
    font-family: Inter, sans-serif;
    animation: dma-phone-float 6.8s ease-in-out infinite;
    transform-origin: 50% 80%;
    will-change: transform;
}

.dma-phone__notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    z-index: 5;
}

.dma-phone__dynamic-island {
    width: 90px;
    height: 20px;
    background: #000;
    border-radius: 20px;
}

.dma-phone__screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(160deg, rgba(var(--dma-primary-rgb), 0.05) 0%, #FAFAFA 30%, #FAFAFA 70%, rgba(var(--dma-primary-rgb), 0.08) 100%);
    border-radius: 40px;
    overflow: hidden;
}

@keyframes dma-phone-float {
    0% {
        transform: perspective(1800px) translate3d(0, 0, 0) rotateX(-6.2deg) rotateY(-14deg) rotateZ(0.6deg);
    }
    50% {
        transform: perspective(1800px) translate3d(0, -7px, 0) rotateX(-8.8deg) rotateY(-12.8deg) rotateZ(1.4deg);
    }
    100% {
        transform: perspective(1800px) translate3d(0, 0, 0) rotateX(-6.2deg) rotateY(-14deg) rotateZ(0.6deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .dma-phone,
    .dma-phone::before,
    .dma-hero__circle {
        animation: none;
    }
}

/* Hero — Instagram views (inside phone) */

.dma-ig-screen {
    height: 100%;
    width: 100%;
    background: #FFF;
    border-radius: 40px;
    overflow: hidden;
    display: flex;
}

.dma-ig-views {
    position: relative;
    width: 100%;
    height: 100%;
    margin-top: 11px;
    overflow: hidden;
}

.dma-ig-view {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateX(38px);
    transition: transform 360ms cubic-bezier(.22,.61,.36,1), opacity 360ms cubic-bezier(.22,.61,.36,1);
    background: #FFF;
    display: flex;
    flex-direction: column;
    z-index: 1;
}

.dma-ig-view.is-active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
    z-index: 2;
}

.dma-ig-view.is-exiting {
    opacity: 0;
    transform: translateX(-38px);
    pointer-events: none;
    z-index: 1;
}

.dma-ig-topbar {
    height: 56px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 16px 16px 10px;
    border-bottom: 1px solid rgba(26, 31, 54, 0.06);
}

.dma-ig-topbar__title {
    font-size: 15px;
    font-weight: 600;
    color: #1A1F36;
}

.dma-ig-postdetail__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
}

.dma-ig-postdetail__user {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.dma-ig-postdetail__avatar {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    object-fit: cover;
    border: 1px solid rgba(26, 31, 54, 0.12);
    background: #FFF;
}

.dma-ig-postdetail__username {
    font-size: 14px;
    font-weight: 600;
    color: #1A1F36;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dma-ig-postdetail__dots {
    width: 18px;
    height: 18px;
    opacity: 0.8;
}

.dma-ig-postdetail__media-wrap {
    position: relative;
}

.dma-ig-postdetail__media {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    background: #F5F7F9;
}

.dma-ig-postdetail__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px 6px;
}

.dma-ig-postdetail__actions-left {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.dma-ig-postdetail__actions img,
.dma-ig-postdetail__bookmark {
    width: 20px;
    height: 20px;
    opacity: 0.92;
}

.dma-ig-postdetail__caption {
    padding: 6px 12px 4px;
    font-size: 13px;
    line-height: 1.35;
    color: rgba(26, 31, 54, 0.85);
}

.dma-ig-postdetail__caption-text[data-dma-reveal] {
    opacity: 0;
    transform: translate(calc(-50% - 16px), 6px) rotate(-2deg);
    transition: opacity 320ms ease, transform 320ms ease;
}

.dma-ig-postdetail__caption-text[data-dma-reveal].is-visible {
    opacity: 1;
    transform: translate(-50%, 0) rotate(-2deg);
}

.dma-ig-postdetail__caption-user {
    font-weight: 600;
    color: #1A1F36;
}

.dma-ig-postdetail__caption-description {
    color: rgba(26, 31, 54, 0.85);
}

.dma-ig-postdetail__caption-text {
    font-size: 15px;
    text-align: center;
    position: absolute;
    left: 50%;
    bottom: 16px;
    transform: translate(-50%, 0) rotate(-2deg);
    background-color: #7B34CE;
    color: #FAFAFA;
    padding: 10px;
    border-radius: 15px;
    font-weight: 600;
    width: calc(100% - 28px);
    max-width: 280px;
    z-index: 2;
    pointer-events: none;
}

.dma-ig-comments-view {
    padding-bottom: 12px;
}

.dma-ig-comments__post {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 12px 14px;
}

.dma-ig-comments__avatar {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    object-fit: cover;
    border: 1px solid rgba(26, 31, 54, 0.12);
    flex: 0 0 auto;
}
.dma-ig-comments__avatar.answer {
    width: 24px;
    height: 24px;
}

.dma-ig-comments__post-copy {
    font-size: 13px;
    line-height: 1.35;
    color: rgba(26, 31, 54, 0.9);
}

.dma-ig-comments__user {
    font-weight: 600;
    color: #1A1F36;
}

.dma-ig-comments__divider {
    margin: 0 12px 10px;
    height: 1px;
    background: rgba(26, 31, 54, 0.14);
}

.dma-ig-comments__thread {
    padding: 0 12px;
}

.dma-ig-comments__item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
}

.dma-ig-comments__bubble {
    font-size: 13px;
    line-height: 1.35;
    color: rgba(26, 31, 54, 0.88);
}

.dma-ig-comments__item--brand .dma-ig-comments__bubble {
    color: rgba(26, 31, 54, 0.86);
}

.dma-ig-comments__reply-indent {
    width: 32px;
    flex: 0 0 auto;
}

/* Sequential reveal for comments view */
.dma-ig-comments__item[data-dma-reveal] {
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 260ms ease, transform 260ms ease;
}

.dma-ig-comments__item[data-dma-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

.dma-ig-chat--hero-dm {
    height: 100%;
    border-radius: 16px;
    border: none !important;
    box-shadow: none;
    margin-top: 15px;
}

.dma-ig-dm-view [data-dma-reveal] {
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 260ms ease, transform 260ms ease;
}

.dma-ig-dm-view [data-dma-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

.dma-ig-dm__cta {
    margin-top: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 11.5px;
    font-weight: 600;
    color: #FAFAFA;
    background: rgb(var(--dma-primary-rgb));
    line-height: 1;
    align-self: center;
}

/* Hero — Responsive */

@media (max-width: 991px) {
    .dma-hero {
        padding: 40px 0 60px;
        min-height: auto;
    }

    .dma-hero__title {
        font-size: 50px;
    }

    .dma-hero__title .text-muted {
        font-size: 26px;
    }

    .dma-hero__subtitle {
        font-size: 16px;
        max-width: 100%;
        margin-bottom: 0px;
    }

    .dma-phone {
        width: 250px;
        height: 500px;
    }

    .dma-ig-topbar__title {
        font-size: 14px;
    }

    .dma-ig-postdetail__username {
        font-size: 13px;
    }

    .dma-ig-postdetail__caption,
    .dma-ig-comments__post-copy,
    .dma-ig-comments__bubble {
        font-size: 12px;
    }

    .dma-ig-postdetail__caption-text {
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .dma-hero__title {
        font-size: 40px;
    }

    .dma-hero__title .text-muted {
        font-size: 22px;
    }

    .dma-phone {
        width: 230px;
        height: 460px;
    }

    .dma-ig-topbar__title {
        font-size: 13px;
    }

    .dma-ig-postdetail__media {
        height: 230px;
    }

    .dma-ig-postdetail__username {
        font-size: 12px;
    }

    .dma-ig-postdetail__caption,
    .dma-ig-comments__post-copy,
    .dma-ig-comments__bubble {
        font-size: 11px;
    }

    .dma-ig-postdetail__caption-text {
        font-size: 12px;
    }
}

/* ==========================================================================
   Automation types (gallery)
   ========================================================================== */

.dma-types {
    padding: 80px 0 96px;
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, #3D1580 0%, #7B34CE 50%, #5A1FA8 100%);
    color: #FAFAFA;
}

.dma-types__pattern {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.dma-types__dots {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.dma-types__blob {
    position: absolute;
    border-radius: 50%;
}

.dma-types__blob--tl {
    top: -160px;
    left: -160px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(180, 120, 255, 0.25) 0%, transparent 65%);
}

.dma-types__blob--br {
    bottom: -80px;
    right: -80px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(100, 30, 200, 0.35) 0%, transparent 65%);
}

.dma-types__blob--center {
    top: 50%;
    left: 50%;
    width: 900px;
    height: 900px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 30%, transparent 70%);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.dma-types__streak {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(115deg, rgba(255, 255, 255, 0.05) 0%, transparent 40%, rgba(0, 0, 0, 0.08) 100%);
}

.dma-types__inner {
    z-index: 1;
}

.dma-types__heading {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    color: #FAFAFA;
}

.dma-types__lead {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.125rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.dma-types__card {
    padding: 0 8px;
}

.dma-types__img-wrap {
    border-radius: 16px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
}

.dma-types__img {
    display: block;
    border-radius: 16px;
    aspect-ratio: 5 / 3;
    object-fit: cover;
}

.dma-types__card-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.35;
    color: #FAFAFA;
}

.dma-types__card-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 0;
}

.dma-types__card-cta {
    display: inline-block;
    padding: 10px 24px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #FAFAFA;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 999px;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.dma-types__card-cta:hover {
    color: #1A1F36;
    background: #FAFAFA;
    border-color: #FAFAFA;
    text-decoration: none;
}

/* Automation types — Responsive */

@media (max-width: 767px) {
    .dma-types {
        padding: 56px 0 64px;
    }

    .dma-types__heading {
        font-size: 1.5rem;
    }

    .dma-types__lead {
        font-size: 1rem;
    }
}

/* ==========================================================================
   Conditionals (2 cards)
   ========================================================================== */

.dma-conditionals {
    padding: 90px 0 96px;
    background: #FFF;
    font-family: 'Montserrat', sans-serif;
    color: #1A1F36;
}

.dma-conditionals__pattern {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.dma-conditionals__circle {
    position: absolute;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: transparent;
}

.dma-conditionals__circle--1 {
    top: -120px;
    left: -140px;
    width: 420px;
    height: 420px;
}

.dma-conditionals__circle--2 {
    top: 70px;
    right: -180px;
    width: 520px;
    height: 520px;
    border-color: rgba(0, 0, 0, 0.06);
}

.dma-conditionals__circle--3 {
    bottom: -220px;
    left: 10%;
    width: 700px;
    height: 700px;
    border-color: rgba(0, 0, 0, 0.05);
}

.dma-conditionals__circle--4 {
    bottom: 120px;
    right: 12%;
    width: 260px;
    height: 260px;
    border-color: rgba(0, 0, 0, 0.07);
}

.dma-conditionals__circle--5 {
    top: 220px;
    left: 18%;
    width: 180px;
    height: 180px;
    border-color: rgba(0, 0, 0, 0.06);
}

.dma-conditionals__heading {
    font-weight: 800;
    line-height: 1.18;
    font-size: 2.1rem;
    letter-spacing: -0.3px;
    margin: 0;
}

.dma-conditionals__card {
    border-radius: 18px;
    padding: 28px 28px 0;
    border: 1px solid rgba(26, 31, 54, 0.06);
    box-shadow: 0 18px 40px rgba(26, 31, 54, 0.08);
}

.dma-conditionals__card--light {
    background: rgba(250, 250, 250, 0.3);
}

.dma-conditionals__card--pastel {
    background: rgba(var(--dma-primary-rgb), 0.14);
    border-color: rgba(var(--dma-primary-rgb), 0.20);
}

.dma-conditionals__card-title {
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.3;
    margin: 0;
}

.dma-conditionals__card-subtitle {
    font-size: 1rem;
    line-height: 1.55;
    opacity: 0.78;
    margin: 0;
}

.dma-ig-chat {
    width: 100%;
    max-width: 370px;
    border-radius: 18px 18px 0 0;
    background: #FFF;
    border: 1px solid rgba(26, 31, 54, 0.08);
    border-bottom: 0;
    /* overflow: hidden; */
    display: flex;
    flex-direction: column;
    box-shadow: 0 16px 30px rgba(26, 31, 54, 0.12);
}

.dma-conditionals__card--pastel .dma-ig-chat {
    background: rgba(255, 255, 255, 0.70);
    border-color: rgba(26, 31, 54, 0.06);
}

/* Conditionals — Instagram chat mock */

.dma-ig-chat__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    background: rgba(250, 250, 250, 0.9);
    border-bottom: 1px solid rgba(26, 31, 54, 0.06);
}

.dma-ig-chat__header-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.dma-ig-chat__avatar {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    object-fit: cover;
    border: 1px solid rgba(26, 31, 54, 0.10);
}

.dma-ig-chat__name {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1A1F36;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dma-ig-chat__close {
    appearance: none;
    border: 0;
    background: transparent;
    color: rgba(26, 31, 54, 0.55);
    font-size: 22px;
    line-height: 1;
    padding: 4px 8px;
    cursor: default;
}

.dma-ig-chat__body {
    position: relative;
    padding: 18px 16px 12px;
    background: #FFF;
}

.dma-conditionals__card--pastel .dma-ig-chat__body {
    background: rgba(255, 255, 255, 0.6);
}

.dma-ig-msg {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    margin-bottom: 10px;
}
.dma-ig-msg:last-child {
    margin-bottom: 0;
}

.dma-ig-msg--client {
    justify-content: flex-start;
}

.dma-ig-msg--brand {
    justify-content: flex-end;
}

.dma-ig-msg__avatar {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    object-fit: cover;
    border: 1px solid rgba(26, 31, 54, 0.10);
    flex: 0 0 auto;
}

.dma-ig-bubble {
    max-width: 78%;
    padding: 10px 12px;
    border-radius: 16px;
    font-size: 0.82rem;
    line-height: 1.35;
    border: 1px solid rgba(26, 31, 54, 0.08);
    background: #FAFAFA;
    color: #1A1F36;
}

.dma-ig-msg--brand .dma-ig-bubble {
    background: rgba(var(--dma-primary-rgb), 0.10);
    border-color: rgba(var(--dma-primary-rgb), 0.18);
}

.dma-ig-post {
    width: 200px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(26, 31, 54, 0.10);
    background: #FFF;
    margin-left: 34px;
}

.dma-ig-post__header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    background: rgba(250, 250, 250, 0.95);
    border-bottom: 1px solid rgba(26, 31, 54, 0.06);
}

.dma-ig-post__avatar {
    width: 18px;
    height: 18px;
    border-radius: 5px;
    object-fit: contain;
}

.dma-ig-post__user {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1A1F36;
}

.dma-ig-post__img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
}

.dma-ig-post__caption {
    padding: 9px 10px 10px;
    font-size: 0.82rem;
    line-height: 1.35;
    color: rgba(26, 31, 54, 0.75);
}

.dma-ig-toast {
    width: 400px;
    position: relative;
    z-index: 6;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px 15px;
    border-radius: 14px;
    background: #FFF;
    border: 1px solid rgba(var(--dma-primary-rgb), 0.20);
    margin: 15px -28px 15px;
}

.dma-ig-toast__icon {
    width: 20px;
    height: 20px;
}

.dma-ig-toast__text {
    font-size: 0.9rem;
    line-height: 1.2;
    color: rgba(26, 31, 54, 0.80);
}

.dma-ig-chat__input {
    padding: 0 16px 16px;
    background: rgba(255, 255, 255, 0.6);
}

.dma-ig-chat__input-pill {
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(26, 31, 54, 0.10);
    background: #FFF;
    display: flex;
    align-items: center;
    padding: 0 14px;
    color: rgba(26, 31, 54, 0.45);
    font-size: 0.95rem;
    gap: 10px;
}

.dma-ig-chat__placeholder {
    flex: 1 1 auto;
}

.dma-ig-chat__input-actions {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.dma-ig-chat__input-icon {
    width: 18px;
    height: 18px;
    display: inline-block;
    opacity: 0.85;
}

/* Conditionals — Responsive */

@media (max-width: 767px) {
    .dma-conditionals {
        padding: 64px 0 72px;
    }

    .dma-conditionals__heading {
        font-size: 1.65rem;
    }
}

/* Reusable masked icons (color via currentColor) */

.dma-icon-mask {
    width: 23px;
    height: 23px;
    display: inline-block;
    background: currentColor;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
}

.dma-icon-check {
    -webkit-mask-image: url(/img/landings/dm-automation/check.svg);
    mask-image: url(/img/landings/dm-automation/check.svg);
}

.dma-icon-down-arrow {
    -webkit-mask-image: url(/img/landings/dm-automation/down-arrow.svg);
    mask-image: url(/img/landings/dm-automation/down-arrow.svg);
}

.dma-icon-arrow-sep {
    -webkit-mask-image: url(/img/landings/dm-automation/arrow-separator.svg);
    mask-image: url(/img/landings/dm-automation/arrow-separator.svg);
}

.dma-icon-smartwatch {
    -webkit-mask-image: url(/img/landings/dm-automation/watch-fitness.svg);
    mask-image: url(/img/landings/dm-automation/watch-fitness.svg);
}

.dma-icon-at {
    -webkit-mask-image: url(/img/landings/dm-automation/at.svg);
    mask-image: url(/img/landings/dm-automation/at.svg);
}

.dma-icon-message-text {
    -webkit-mask-image: url(/img/landings/dm-automation/message-text.svg);
    mask-image: url(/img/landings/dm-automation/message-text.svg);
}

.dma-icon-id-card-clip {
    -webkit-mask-image: url(/img/landings/dm-automation/id-card-clip.svg);
    mask-image: url(/img/landings/dm-automation/id-card-clip.svg);
}

.dma-icon-download {
    -webkit-mask-image: url(/img/landings/dm-automation/download.svg);
    mask-image: url(/img/landings/dm-automation/download.svg);
}

.dma-icon-tag {
    -webkit-mask-image: url(/img/landings/dm-automation/tag.svg);
    mask-image: url(/img/landings/dm-automation/tag.svg);
}

.dma-icon-user-group {
    -webkit-mask-image: url(/img/landings/dm-automation/user-group.svg);
    mask-image: url(/img/landings/dm-automation/user-group.svg);
}

.dma-icon-bullseye-pointer {
    -webkit-mask-image: url(/img/landings/dm-automation/bullseye-pointer.svg);
    mask-image: url(/img/landings/dm-automation/bullseye-pointer.svg);
}

/* ==========================================================================
   Ideas separator
   ========================================================================== */

.dma-ideas-sep {
    padding: 68px 0 78px;
    background: #FAFAFA;
    font-family: 'Montserrat', sans-serif;
}

.dma-ideas-sep__text {
    font-size: 3.05rem;
    line-height: 1.25;
    font-weight: 600;
    color: #1A1F36;
    letter-spacing: -0.2px;
}

.dma-ideas-sep__highlight {
    font-weight: 800;
    color: rgb(var(--dma-primary-rgb));
}

.dma-ideas-sep__doodle {
    position: relative;
    display: inline-block;
    z-index: 0;
}

.dma-ideas-sep__doodle::after {
    content: "";
    position: absolute;
    left: -2%;
    right: -2%;
    bottom: 10px;
    height: 10px;
    border-bottom: 4px solid rgba(var(--dma-primary-rgb), 0.3);
    border-radius: 0 0 3px 3px;
    transform: rotate(-.9deg);
    z-index: -1;
    margin: 0 6px;
}

.dma-ideas-sep__scroll {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.dma-ideas-sep__scroll-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: rgba(var(--dma-primary-rgb), 0.45);
}

.dma-ideas-sep__arrow {
    color: rgba(var(--dma-primary-rgb), 0.45);
    width: 34px;
    height: 34px;
    animation: dma-float-y 2.2s ease-in-out infinite;
}

@keyframes dma-float-y {
    0% { transform: translateY(0); }
    50% { transform: translateY(8px); }
    100% { transform: translateY(0); }
}

@media (max-width: 767px) {
    .dma-ideas-sep {
        padding: 54px 0 62px;
    }

    .dma-ideas-sep__text {
        font-size: 1.25rem;
    }

    .dma-ideas-sep__doodle::after {
        bottom: 4px;
    }
}

/* ==========================================================================
   Use case — Send DM after comment
   ========================================================================== */

.dma-usecase {
    padding: 90px 0;
    background-color: #FFF;
    font-family: 'Montserrat', sans-serif;
    color: #1A1F36;
    overflow: hidden;
}

.dma-usecase::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        repeating-linear-gradient(45deg, rgba(0,0,0,0.03) 0 1px, transparent 2px 70px),
        repeating-linear-gradient(-45deg, rgba(0,0,0,0.03) 0 1px, transparent 2px 70px);
    opacity: 1;
}

.dma-usecase .container {
    position: relative;
    z-index: 1;
}

.dma-usecase__bulb {
    width: 80px;
    height: auto;
    flex: 0 0 auto;
}

.dma-usecase__title {
    font-size: 2.4rem;
    font-weight: 900;
    letter-spacing: -0.3px;
    color: rgb(var(--dma-primary-rgb));
}

.dma-usecase__accordion {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.dma-accordion-item {
    border-radius: 16px;
    overflow: hidden;
    border: 0;
    background: #F5F7F9;
}

.dma-accordion-btn {
    width: 100%;
    text-align: left;
    border: 0;
    background: transparent;
    padding: 16px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    color: #1A1F36;
    transition: background-color 220ms ease;
}

.dma-accordion-btn:focus,
.dma-accordion-btn:focus-visible {
    outline: none;
    box-shadow: none;
}

.dma-accordion-btn__left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.dma-accordion-btn__title {
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.2;
}

.dma-accordion-body {
    padding: 0 16px 16px;
    transition: background-color 220ms ease;
}

.dma-benefit {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0 0;
    color: rgba(26, 31, 54, 0.82);
    font-weight: 600;
}
.dma-benefit:first-child {
    padding-top: 0;
}

.dma-benefit .dma-icon-mask {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    margin-left: 35px;
}

/* Open state */
.dma-accordion-btn[aria-expanded="true"] {
    background: rgba(var(--dma-primary-rgb), 0.10);
}

.dma-accordion-btn[aria-expanded="true"] .dma-accordion-btn__title {
    font-weight: 800;
}

.dma-accordion-btn[aria-expanded="true"] + .collapse,
.dma-accordion-btn[aria-expanded="true"] + .collapsing {
    background: rgba(var(--dma-primary-rgb), 0.10);
}

.dma-usecase__canvas {
    width: 420px;
    max-width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 22px;
    background: rgba(var(--dma-primary-rgb), 0.16);
    border: 1px solid rgba(var(--dma-primary-rgb), 0.22);
}

@media (max-width: 767px) {
    .dma-usecase {
        padding: 64px 0;
    }

    .dma-usecase__title {
        font-size: 1.65rem;
    }

    .dma-usecase__bulb {
        width: 46px;
    }
}

/* ==========================================================================
   Use case — Automated DM answers
   ========================================================================== */

.dma-auto-dm {
    background: linear-gradient(180deg, #7B34CE 0%, #2D1F5E 100%);
    color: #FAFAFA;
    font-family: 'Montserrat', sans-serif;
    padding: 70px 0 0;
}

.dma-auto-dm__title-row {
    gap: 16px;
}

.dma-auto-dm__title {
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.3px;
    font-size: 2.05rem;
}

.dma-auto-dm__bulb {
    width: 64px;
    height: auto;
    flex: 0 0 auto;
}

.dma-auto-dm__doodle {
    position: relative;
    display: inline-block;
    z-index: 0;
}

.dma-auto-dm__doodle::after {
    content: "";
    position: absolute;
    left: -2%;
    right: -2%;
    bottom: 8px;
    height: 10px;
    border-bottom: 4px solid rgba(246, 205, 2, 0.50);
    border-radius: 0 0 3px 3px;
    transform: rotate(-0.9deg);
    z-index: -1;
    margin: 0 6px;
}

.dma-auto-dm__stage {
    margin-top: 34px;
    min-height: calc(100vh - var(--logged-in-header-height));
    display: flex;
    align-items: center;
    padding: 28px 0 70px;
}

.dma-auto-dm__side-title {
    font-weight: 800;
    font-size: 1.45rem;
    opacity: 0.9;
}

.dma-auto-dm__cases {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.dma-auto-dm__case {
    text-align: left;
    border: 1px solid transparent;
    background: transparent;
    color: #FAFAFA;
    border-radius: 14px;
    padding: 12px 12px;
    transition: background-color 180ms ease, border-color 180ms ease;
}

.dma-auto-dm__case.is-active {
    background: rgba(245, 247, 249, 0.10);
    border-color: rgba(245, 247, 249, 0.30);
}

.dma-auto-dm__case-title {
    font-weight: 800;
    line-height: 1.2;
    font-size: 0.98rem;
}

.dma-auto-dm__case-subtitle {
    opacity: 0.78;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 5px;
}

.dma-phone--usecase {
    width: 300px;
    height: 610px;
}

.dma-auto-dm__phone-views {
    width: 100%;
    height: 100%;
    position: relative;
}

.dma-auto-dm__phone-view {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
}

.dma-auto-dm__phone-view.is-active {
    opacity: 1;
    pointer-events: auto;
}

.dma-auto-dm__meta-views {
    position: relative;
}

.dma-auto-dm__meta-view {
    display: none;
}

.dma-auto-dm__meta-view.is-active {
    display: block;
}

.dma-ig-chat--in-phone {
    border-radius: 0;
    border: 0;
    box-shadow: none;
    height: 100%;
}

.dma-auto-dm__meta {
    color: #FAFAFA;
}

.dma-auto-dm__meta-label {
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    opacity: 0.7;
}

.dma-auto-dm__meta-row {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 10px;
}

.dma-auto-dm__meta-icon {
    color: rgba(250, 250, 250, 0.9);
    width: 22px;
    height: 22px;
    margin-top: 2px;
    flex: 0 0 auto;
}

.dma-auto-dm__meta-title {
    font-weight: 700;
    line-height: 1.2;
}

@media (max-width: 991px) {
    .dma-auto-dm {
        padding-top: 56px;
    }

    .dma-auto-dm__title-row {
        flex-direction: row-reverse;
    }

    .dma-auto-dm__title {
        font-size: 1.55rem;
    }

    .dma-auto-dm__stage {
        min-height: auto;
        padding: 24px 0 56px;
    }

    .dma-phone--usecase {
        width: 260px;
        height: 540px;
    }
}


/* ==========================================================================
   Use case — Answer every comment
   ========================================================================== */

   .dma-comments {
    position: relative;
    padding: 96px 0 86px;
    background: linear-gradient(180deg, #FFF 0%, rgba(var(--dma-primary-rgb), 0.04) 100%);
    font-family: 'Montserrat', sans-serif;
    color: #1A1F36;
    overflow: hidden;
}

.dma-comments::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        repeating-linear-gradient(0deg, rgba(0,0,0,0.035) 0 1px, transparent 1px 72px),
        repeating-linear-gradient(90deg, rgba(0,0,0,0.03) 0 1px, transparent 1px 72px);
    opacity: 1;
}

.dma-comments .container {
    position: relative;
    z-index: 1;
}

.dma-comments__bulb {
    width: 72px;
    height: auto;
}

.dma-comments__title {
    font-weight: 900;
    letter-spacing: -0.4px;
    line-height: 1.05;
    font-size: 2.7rem;
    margin: 0;
}

.dma-comments__subtitle {
    color: rgba(26, 31, 54, 0.72);
    font-weight: 600;
}

.dma-comments__card {
    background: #FFF;
    border: 1px solid rgba(var(--dma-primary-rgb), 0.20);
    border-radius: 18px;
    padding: 18px 18px 18px;
    box-shadow: 0 16px 36px rgba(26, 31, 54, 0.06);
    transform: rotate(var(--dma-card-rot, 0deg));
    transition: transform 220ms ease, box-shadow 220ms ease;
    will-change: transform;
}

.dma-comments__card:hover {
    transform: rotate(0deg);
    box-shadow: 0 22px 46px rgba(26, 31, 54, 0.10);
}

/* Top row (3 cards) rotations */
.dma-comments .row:nth-of-type(2) > [class*="col-"]:nth-child(1) .dma-comments__card { --dma-card-rot: -2deg; }
.dma-comments .row:nth-of-type(2) > [class*="col-"]:nth-child(2) .dma-comments__card { --dma-card-rot:  2deg; }
.dma-comments .row:nth-of-type(2) > [class*="col-"]:nth-child(3) .dma-comments__card { --dma-card-rot: -1deg; }

/* Bottom row (2 cards) rotations */
.dma-comments .row:nth-of-type(3) > [class*="col-"]:nth-child(1) .dma-comments__card { --dma-card-rot:  -2deg; }
.dma-comments .row:nth-of-type(3) > [class*="col-"]:nth-child(2) .dma-comments__card { --dma-card-rot: 3deg; }

/* Increase spacing between bottom cards */
.dma-comments .row:nth-of-type(3) > [class*="col-"] {
    padding-left: 22px;
    padding-right: 22px;
}

.dma-comments__card-topline {
    height: 4px;
    width: 64px;
    border-radius: 999px;
    background: rgb(var(--dma-primary-rgb));
    margin-bottom: 14px;
}

.dma-comments__card-title {
    font-size: 1.15rem;
    font-weight: 900;
    margin: 0 0 14px;
    color: #1A1F36;
}

.dma-comments__label {
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    font-weight: 600;
    color: rgba(var(--dma-primary-rgb), 0.65);
}

.dma-comments__text {
    margin-top: 6px;
    font-weight: 600;
    color: rgba(26, 31, 54, 0.78);
}

.dma-comments__comment-box {
    border-radius: 16px;
    background: rgba(var(--dma-primary-rgb), 0.20);
    padding: 14px 14px;
}

.dma-comments__comment-head {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dma-comments__comment-icon {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: rgb(var(--dma-primary-rgb));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.dma-comments__comment-icon img {
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(1);
}

.dma-comments__comment-label {
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    font-weight: 600;
    color: rgba(var(--dma-primary-rgb), 0.75);
}

.dma-comments__comment-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.dma-comments__avatar {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    object-fit: cover;
    border: 1px solid rgba(26, 31, 54, 0.12);
    flex: 0 0 auto;
    background: #FFF;
}

.dma-comments__comment-text {
    line-height: 1.35;
    font-size: 0.92rem;
}

.dma-comments__user {
    font-weight: 900;
    margin-right: 6px;
}

.dma-comments__brand {
    font-weight: 900;
    margin-right: 6px;
    color: rgb(var(--dma-primary-rgb));
}

.dma-comments__msg {
    font-weight: 600;
    color: rgba(26, 31, 54, 0.78);
}

.dma-comments__reply {
    position: relative;
    padding-left: 10px;
}

.dma-comments__reply-line {
    position: absolute;
    left: 2px;
    top: 0;
    bottom: 0;
    width: 2px;
    border-radius: 999px;
    background: rgba(var(--dma-primary-rgb), 0.55);
}

.dma-comments__post {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(var(--dma-primary-rgb), 0.20);
    background: #FFF;
}

.dma-comments__post-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.dma-comments__post-body {
    padding: 12px 12px 14px;
}

.dma-comments__post-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0.9;
}

.dma-comments__post-actions img {
    width: 18px;
    height: 18px;
}

.dma-comments__post-caption {
    margin-top: 10px;
    font-size: 0.92rem;
    color: rgba(26, 31, 54, 0.78);
    font-weight: 600;
}

@media (max-width: 767px) {
    .dma-comments {
        padding: 70px 0 58px;
    }

    .dma-comments__title {
        font-size: 2.05rem;
    }
}

/* ==========================================================================
   Start in three steps
   ========================================================================== */

.dma-3steps {
    padding: 86px 0 92px;
    background: rgba(var(--dma-primary-rgb), 0.15);
    font-family: 'Montserrat', sans-serif;
    overflow: hidden;
}

.dma-3steps__title {
    font-weight: 900;
    letter-spacing: -0.3px;
    color: #1A1F36;
    font-size: 2.3rem;
    line-height: 1.15;
}

.dma-3steps__doodle {
    position: relative;
    display: inline-block;
    z-index: 0;
}

.dma-3steps__doodle::after {
    content: "";
    position: absolute;
    left: -2%;
    right: -2%;
    bottom: 6px;
    height: 10px;
    border-bottom: 4px solid rgba(var(--dma-primary-rgb), 0.28);
    border-radius: 0 0 3px 3px;
    transform: rotate(-0.9deg);
    z-index: -1;
    margin: 0 6px;
}

.dma-3steps__subtitle {
    color: rgba(var(--dma-primary-rgb), 0.95);
    font-weight: 700;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

.dma-3steps__flow {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 24px;
}

.dma-3steps__flow > .dma-3steps__card {
    flex: 1 1 0;
    max-width: 360px;
}

.dma-3steps__flow > .dma-3steps__sep {
    flex: 0 0 auto;
    align-self: center;
}

.dma-3steps__card {
    background: #FFF;
    border: 1px solid rgba(0, 0, 0, 0.20);
    border-radius: 18px;
    padding: 26px 22px 22px;
    box-shadow: 0 18px 40px rgba(26, 31, 54, 0.06);
}

.dma-3steps__badge {
    position: absolute;
    top: -18px;
    left: 18px;
    width: 56px;
    height: 56px;
    border-radius: 999px;
    background: rgb(var(--dma-primary-rgb));
    color: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    letter-spacing: 0.08em;
    border: 3px dashed rgba(255, 255, 255, 0.95);
    outline: 3px solid rgba(var(--dma-primary-rgb), 0.85);
    outline-offset: 0;
}

.dma-3steps__iconbox {
    width: 100%;
    height: 120px;
    border-radius: 16px;
    background: rgba(var(--dma-primary-rgb), 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.dma-3steps__iconbox img {
    width: 54px;
    height: 54px;
}

.dma-3steps__card-title {
    font-weight: 900;
    color: #1A1F36;
    font-size: 1.25rem;
}

.dma-3steps__card-subtitle {
    color: #4E499B;
    font-weight: 600;
}

.dma-3steps__sep {
    color: rgba(var(--dma-primary-rgb), 0.50);
    width: 46px;
    height: 46px;
}

@media (max-width: 991px) {
    .dma-3steps {
        padding: 66px 0 72px;
    }

    .dma-3steps__title {
        font-size: 1.85rem;
    }

    .dma-3steps__flow {
        flex-direction: column;
        align-items: center;
        gap: 18px;
    }

    .dma-3steps__flow > .dma-3steps__card {
        width: 100%;
        max-width: 520px;
    }

    .dma-3steps__flow > .dma-3steps__sep {
        transform: rotate(90deg);
    }
}