/* CRM module page styles — loaded only with crm.html */

.crm-hero,
.crm-page,
.crm-hero h1,
.crm-hero p,
.crm-hero a,
.crm-hero span,
.crm-page h2,
.crm-page h3,
.crm-page h4,
.crm-page p,
.crm-page li,
.crm-page span,
.crm-page a,
.crm-page strong,
.crm-page button {
    font-family: "Plus Jakarta Sans", Inter, sans-serif;
}

.crm-hero {
    position: relative;
    overflow: hidden;
    text-align: left;
    padding: 148px 0 72px;
    background: #ffffff;
}

.crm-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 48% 52% at 78% 42%, rgba(147, 197, 253, 0.28), transparent 70%),
        radial-gradient(ellipse 36% 40% at 92% 70%, rgba(255, 178, 120, 0.22), transparent 72%),
        radial-gradient(ellipse 30% 34% at 62% 18%, rgba(196, 181, 253, 0.16), transparent 70%),
        #ffffff;
}

.crm-hero .container,
.crm-hero .crm-hero-grid {
    position: relative;
    z-index: 1;
    max-width: 1200px;
}

.crm-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 36px 48px;
    align-items: center;
    width: 100%;
}

.crm-hero-copy {
    min-width: 0;
    max-width: min(38rem, 100%);
}

.crm-hero-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 18px;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid transparent;
    background-image:
        linear-gradient(90deg, #ffe8d6 0%, #ffffff 48%, #dceeff 100%),
        linear-gradient(90deg, #ffb07a 0%, #9ec9f5 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    color: #ff6500;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.crm-hero-copy h1 {
    text-align: left;
    font-size: clamp(2.55rem, 4.6vw, 3.75rem);
    margin: 0 0 28px;
    letter-spacing: -0.045em;
    line-height: 1.08;
    color: #0f1b33;
    font-weight: 800;
}

.crm-hero-copy h1 span {
    background: none;
    -webkit-text-fill-color: initial;
    color: #ff6500;
}

.crm-hero-benefits {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
    display: grid;
    gap: 12px;
    max-width: 34rem;
}

.crm-hero-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 1rem;
    line-height: 1.45;
    font-weight: 600;
    color: #334155;
}

.crm-hero-benefits i {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    margin-top: 1px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 101, 0, 0.12);
    color: #ff6500;
    font-size: 0.95rem;
    font-weight: 700;
}

.crm-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.crm-hero-actions .btn {
    animation: crmPillIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: calc(0.4s + (var(--d, 0) * 0.12s));
}

.crm-hero-actions .btn i {
    font-size: 1.2rem;
    margin-left: 4px;
}

.crm-hero-visual {
    position: relative;
    min-height: 420px;
    display: grid;
    place-items: center;
    animation-delay: 0.12s;
}

.crm-hero-desktop-compose {
    position: relative;
    width: 100%;
    min-height: 420px;
    display: grid;
    place-items: center;
}

.crm-hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(8px);
    z-index: 0;
}

.crm-hero-glow-a {
    width: 280px;
    height: 280px;
    right: 8%;
    top: 6%;
    background: rgba(125, 211, 252, 0.35);
}

.crm-hero-glow-b {
    width: 220px;
    height: 220px;
    right: 18%;
    bottom: 4%;
    background: rgba(253, 186, 116, 0.28);
}

.crm-hero-laptop {
    position: relative;
    z-index: 1;
    width: min(100%, 520px);
    margin-right: 28px;
}

.crm-hero-laptop-screen {
    border: 10px solid #1f2937;
    border-bottom-width: 12px;
    border-radius: 16px 16px 8px 8px;
    overflow: hidden;
    background: #eef2f7;
    box-shadow: 0 28px 60px rgba(15, 27, 51, 0.18);
}

.crm-hero-laptop-screen img {
    display: block;
    width: 100%;
    height: auto;
}

.crm-hero-laptop-base {
    height: 14px;
    margin: 0 auto;
    width: 108%;
    margin-left: -4%;
    border-radius: 0 0 14px 14px;
    background: linear-gradient(180deg, #cbd5e1, #94a3b8);
    box-shadow: 0 10px 18px rgba(15, 27, 51, 0.12);
}

.crm-hero-phone {
    position: absolute;
    z-index: 2;
    right: 2%;
    bottom: 8%;
    width: 158px;
    border-radius: 28px;
    padding: 10px 8px 12px;
    background: #111827;
    box-shadow: 0 22px 40px rgba(15, 27, 51, 0.28);
    transform: rotate(-8deg);
}

.crm-hero-phone-notch {
    width: 56px;
    height: 8px;
    border-radius: 999px;
    background: #374151;
    margin: 0 auto 8px;
}

.crm-hero-phone-screen {
    background: linear-gradient(180deg, #fff7ed, #ffffff 40%);
    border-radius: 20px;
    padding: 18px 12px 16px;
    text-align: center;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.crm-hero-phone-kicker {
    margin: 0;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #ea580c;
}

.crm-hero-phone-screen strong {
    font-size: 0.98rem;
    line-height: 1.25;
    color: #0f1b33;
}

.crm-hero-phone-gift {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: #ffedd5;
    color: #ea580c;
    font-size: 1.6rem;
    margin: 4px 0;
}

.crm-hero-phone-cta {
    display: inline-flex;
    margin-top: 4px;
    padding: 7px 12px;
    border-radius: 999px;
    background: #ff6500;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
}

.crm-hero-float {
    position: absolute;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid rgba(15, 27, 51, 0.08);
    box-shadow: 0 14px 30px rgba(15, 27, 51, 0.12);
    font-size: 0.82rem;
    font-weight: 700;
    color: #0f1b33;
    white-space: nowrap;
}

.crm-hero-float-icon {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 1rem;
}

.crm-hero-float-icon.is-blue {
    background: #dbeafe;
    color: #2563eb;
}

.crm-hero-float-icon.is-green {
    background: #dcfce7;
    color: #16a34a;
}

.crm-hero-float-top {
    top: 10%;
    right: 0;
    animation: crmFloat 4.5s ease-in-out infinite;
}

.crm-hero-float-bottom {
    left: 4%;
    bottom: 12%;
    animation: crmFloat 5s ease-in-out infinite 0.6s;
}

@keyframes crmFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.crm-hero .btn:focus-visible,
.crm-page .btn:focus-visible,
.crm-step:focus-visible {
    outline: 3px solid #312e81;
    outline-offset: 3px;
}

.crm-feature-card[id] {
    scroll-margin-top: 104px;
}

.crm-tab-visual {
    min-width: 0;
    max-width: 100%;
}

.crm-shot-stage {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 320px;
    padding: 18px 12px 28px;
}

.crm-shot-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(10px);
    z-index: 0;
    pointer-events: none;
}

.crm-shot-glow-a {
    width: 220px;
    height: 220px;
    right: 6%;
    top: 4%;
    background: rgba(125, 211, 252, 0.38);
}

.crm-shot-glow-b {
    width: 180px;
    height: 180px;
    left: 8%;
    bottom: 8%;
    background: rgba(253, 186, 116, 0.32);
}

.crm-shot-device {
    position: relative;
    z-index: 1;
    width: min(100%, 520px);
    transform: perspective(900px) rotateY(-4deg) rotateX(2deg);
    transform-origin: center center;
    transition: transform 0.45s ease;
}

.crm-tab-panel.is-active .crm-shot-device {
    animation: crmShotDeviceIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

@keyframes crmShotDeviceIn {
    from {
        opacity: 0;
        transform: perspective(900px) rotateY(-8deg) rotateX(4deg) translate3d(24px, 12px, 0);
    }
    to {
        opacity: 1;
        transform: perspective(900px) rotateY(-4deg) rotateX(2deg) translate3d(0, 0, 0);
    }
}

.crm-shot-bezel {
    border: 10px solid #1f2937;
    border-bottom-width: 12px;
    border-radius: 16px 16px 8px 8px;
    overflow: hidden;
    background: #0f172a;
    box-shadow:
        0 28px 60px rgba(15, 27, 51, 0.22),
        0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.crm-shot-frame {
    position: relative;
    overflow: hidden;
    background: #eef2f7;
    aspect-ratio: 16 / 10;
    border-radius: 0;
    border: 0;
    box-shadow: none;
}

.crm-shot-frame::before {
    content: '';
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #ff6500, #7c6cf0 55%, #00d2ff);
    z-index: 2;
}

.crm-shot-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center top;
    background: #eef2f7;
}

.crm-shot-base {
    height: 12px;
    width: 106%;
    margin: 0 auto 0 -3%;
    border-radius: 0 0 12px 12px;
    background: linear-gradient(180deg, #cbd5e1, #94a3b8);
    box-shadow: 0 10px 18px rgba(15, 27, 51, 0.14);
}

.crm-shot-float {
    position: absolute;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid rgba(15, 27, 51, 0.08);
    box-shadow: 0 14px 30px rgba(15, 27, 51, 0.14);
    font-size: 0.78rem;
    font-weight: 700;
    color: #0f1b33;
    white-space: nowrap;
    animation: crmFloat 4.8s ease-in-out infinite;
}

.crm-shot-float-icon {
    width: 28px;
    height: 28px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    font-size: 0.95rem;
}

.crm-shot-float-icon.is-blue {
    background: #dbeafe;
    color: #2563eb;
}

.crm-shot-float-icon.is-green {
    background: #dcfce7;
    color: #16a34a;
}

.crm-shot-float-icon.is-orange {
    background: #ffedd5;
    color: #ea580c;
}

.crm-shot-float-top {
    top: 8%;
    right: 0;
}

.crm-shot-float-bottom {
    left: 0;
    bottom: 10%;
    animation-delay: 0.55s;
}

.crm-page {
    padding: 28px 0 90px;
    background:
        radial-gradient(ellipse 55% 30% at 0% 8%, rgba(255, 101, 0, 0.08), transparent 55%),
        radial-gradient(ellipse 45% 28% at 100% 0%, rgba(99, 102, 241, 0.1), transparent 50%),
        linear-gradient(180deg, #f4f6fb 0%, #eef2f8 100%);
}

.crm-page > .container {
    max-width: 1360px;
}

.crm-block {
    margin-bottom: 28px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(8, 13, 32, 0.05);
    border-radius: var(--radius-lg);
    padding: 40px 28px;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(8px);
}

.crm-platform {
    padding: 44px 36px 40px;
    overflow: hidden;
}

.crm-block .section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 28px;
}

.crm-block .section-header h2 {
    display: block;
    max-width: 100%;
    width: 100%;
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    line-height: 1.22;
    letter-spacing: -0.03em;
    margin: 0;
    padding-top: 0;
}

.crm-block .section-header > p:not(.crm-flow-badge):not(.crm-hero-badge) {
    color: var(--text-muted);
    max-width: 640px;
    margin: 14px auto 0;
}

.crm-platform .crm-flow-badge.crm-hero-badge {
    margin: 0 auto 12px;
    padding: 8px 16px;
    color: #ff6500;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1.2;
}

.crm-platform .section-header h2 {
    font-size: clamp(1.45rem, 2.5vw, 1.9rem);
    line-height: 1.25;
    margin: 0 0 0.35rem;
    letter-spacing: -0.025em;
}

.crm-platform .section-header h2::after {
    bottom: -8px;
    width: 48px;
    height: 3px;
}

.crm-explore-hint {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 18px auto 0;
    padding: 10px 16px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(255, 101, 0, 0.12), rgba(99, 102, 241, 0.1));
    border: 1px dashed rgba(255, 101, 0, 0.35);
    color: #9a3412;
    font-size: 0.92rem;
    font-weight: 700;
    animation: crmHintPulse 2.4s ease-in-out infinite;
}

.crm-explore-hint i {
    font-size: 1.15rem;
    color: #ff6500;
}

@keyframes crmHintPulse {
    0%, 100% { transform: translateY(0); box-shadow: 0 0 0 0 rgba(255, 101, 0, 0.15); }
    50% { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255, 101, 0, 0.12); }
}

/* Numbered journey steps */
.crm-steps {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin: 0 0 20px;
    padding: 4px 4px 8px;
}

.crm-step {
    appearance: none;
    position: relative;
    border: 1px solid rgba(15, 27, 51, 0.08);
    background: #ffffff;
    border-radius: 20px;
    padding: 14px 14px 16px;
    text-align: left;
    cursor: pointer;
    font: inherit;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    min-width: 0;
    height: 100%;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease, border-color 0.28s ease, background 0.28s ease;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.crm-step:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 101, 0, 0.22);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
}

.crm-step.is-active {
    background: linear-gradient(160deg, #fff7ed 0%, #ffffff 55%, #eef2ff 100%);
    border-color: rgba(255, 101, 0, 0.45);
    box-shadow:
        0 18px 36px rgba(255, 101, 0, 0.14),
        0 0 0 3px rgba(255, 101, 0, 0.08);
}

.crm-step.is-active::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -11px;
    width: 18px;
    height: 18px;
    background: #ffffff;
    border-right: 1px solid rgba(255, 101, 0, 0.45);
    border-bottom: 1px solid rgba(255, 101, 0, 0.45);
    transform: translateX(-50%) rotate(45deg);
    z-index: 2;
}

.crm-step-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.crm-step-num {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #94a3b8;
}

.crm-step.is-active .crm-step-num {
    color: #ff6500;
}

.crm-step-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff7ed;
    color: #ff6500;
    font-size: 1.2rem;
    flex: 0 0 auto;
}

.crm-step.is-active .crm-step-icon {
    background: linear-gradient(135deg, #ff6500, #ff8a3d);
    color: #fff;
    box-shadow: 0 10px 18px rgba(255, 101, 0, 0.28);
}

.crm-step-text {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.crm-step-text strong {
    font-size: 1rem;
    color: #0f1b33;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.crm-step-text small {
    color: #64748b;
    font-size: 0.78rem;
    line-height: 1.35;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
}

.crm-stage {
    position: relative;
    margin-top: 8px;
    padding: 18px;
    border-radius: 28px;
    background:
        radial-gradient(ellipse 60% 50% at 100% 0%, rgba(255, 101, 0, 0.08), transparent 55%),
        radial-gradient(ellipse 50% 45% at 0% 100%, rgba(99, 102, 241, 0.08), transparent 50%),
        linear-gradient(180deg, #ffffff 0%, #f7f8fc 100%);
    border: 1px solid rgba(15, 27, 51, 0.07);
    box-shadow:
        0 24px 50px rgba(15, 23, 42, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.crm-stage-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    padding: 0 6px;
}

.crm-stage-progress {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 800;
    color: #0f1b33;
    letter-spacing: -0.01em;
}

.crm-stage-cue {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #ff6500;
    font-size: 0.82rem;
    font-weight: 700;
}

.crm-stage-cue i {
    font-size: 1.1rem;
}

.crm-tab-panels {
    display: grid;
}

.crm-tab-panel {
    grid-area: 1 / 1;
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.18fr);
    gap: 28px;
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 8px 6px 6px;
    overflow: hidden;
    box-shadow: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateZ(0);
    transition:
        opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0.45s linear;
}

.crm-tab-panel.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 1;
}

.crm-tab-panel.is-active .crm-tab-kicker,
.crm-tab-panel.is-active .crm-tab-copy > h3,
.crm-tab-panel.is-active .crm-benefit,
.crm-tab-panel.is-active .crm-status-chips {
    animation: crmTabCopyIn 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.crm-tab-panel.is-active .crm-tab-kicker {
    animation-delay: 0.04s;
}

.crm-tab-panel.is-active .crm-tab-copy > h3 {
    animation-delay: 0.1s;
}

.crm-tab-panel.is-active .crm-benefit:nth-child(1) {
    animation-delay: 0.18s;
}

.crm-tab-panel.is-active .crm-benefit:nth-child(2) {
    animation-delay: 0.26s;
}

.crm-tab-panel.is-active .crm-benefit:nth-child(3) {
    animation-delay: 0.34s;
}

.crm-tab-panel.is-active .crm-status-chips {
    animation-delay: 0.42s;
}

.crm-tab-panel.is-active .crm-tab-visual {
    animation: crmTabVisualIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}

@keyframes crmTabCopyIn {
    0% {
        opacity: 0;
        transform: translate3d(-28px, 0, 0);
    }
    55% {
        opacity: 1;
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes crmTabVisualIn {
    0% {
        opacity: 0;
        transform: translate3d(36px, 0, 0) scale(0.985);
    }
    60% {
        opacity: 1;
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
}

.crm-tab-copy {
    min-width: 0;
}

.crm-tab-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
    margin: 0 0 14px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 101, 0, 0.1);
    border: 1px solid rgba(255, 101, 0, 0.16);
}

.crm-tab-copy h3 {
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    color: var(--secondary);
    letter-spacing: -0.035em;
    line-height: 1.22;
    margin: 0 0 24px;
    max-width: 18ch;
}

.crm-benefit-cols {
    display: grid;
    gap: 12px;
}

.crm-benefit {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 14px 14px 14px 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(8, 13, 32, 0.05);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.03);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.crm-benefit:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 101, 0, 0.18);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
}

.crm-benefit-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: linear-gradient(145deg, rgba(255, 101, 0, 0.14), rgba(124, 108, 240, 0.1));
    color: var(--primary);
    font-size: 1.35rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.crm-benefit h4 {
    color: var(--secondary);
    font-size: 1.02rem;
    margin: 2px 0 6px;
    letter-spacing: -0.02em;
}

.crm-benefit p {
    color: #5c677a;
    line-height: 1.55;
    font-size: 0.94rem;
    margin: 0;
}

.crm-status-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.crm-status-chips span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 0.88rem;
    background: var(--white);
    border: 1px solid rgba(8, 13, 32, 0.05);
    box-shadow: var(--shadow-sm);
}

.crm-status-chips .is-ok { color: #0f7a4a; }
.crm-status-chips .is-read { color: #1d4ed8; }
.crm-status-chips .is-bad { color: #b45309; }

/* Feature cards */
.crm-features {
    position: relative;
    overflow: hidden;
}

.crm-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.crm-feature-card {
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, #f7f8fc 100%);
    border: 1px solid rgba(49, 46, 129, 0.07);
    border-radius: 22px;
    padding: 22px 18px 20px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
    overflow: hidden;
}

.crm-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff6500, #7c6cf0 55%, #00d2ff);
    opacity: 0.85;
}

.crm-feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 101, 0, 0.22);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
}

.crm-feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    background: #fff7ed;
    color: var(--primary);
    font-size: 1.4rem;
    box-shadow: 0 8px 18px rgba(255, 101, 0, 0.12);
}

.crm-feature-icon .bxl-whatsapp {
    color: #25D366;
}

.crm-feature-body {
    min-width: 0;
}

.crm-feature-card h3 {
    color: var(--secondary);
    font-size: 1.08rem;
    margin: 0 0 8px;
    letter-spacing: -0.02em;
}

.crm-feature-card p {
    color: #5c677a;
    font-size: 0.92rem;
    line-height: 1.5;
    margin: 0;
}

.crm-close {
    margin-top: 48px;
    padding: 40px 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px 40px;
    border-radius: 28px;
    background:
        radial-gradient(ellipse 70% 120% at 100% 0%, rgba(255, 101, 0, 0.18), transparent 55%),
        linear-gradient(135deg, #0c1228 0%, #161f3c 55%, #1a2448 100%);
    color: #fff;
    box-shadow: 0 22px 48px rgba(12, 18, 40, 0.28);
}

.crm-close-copy {
    max-width: 36rem;
    text-align: left;
}

.crm-close-eyebrow {
    display: inline-block;
    margin: 0 0 12px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffb27a;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.crm-close h2 {
    margin: 0 0 10px;
    color: #fff;
    font-size: clamp(1.45rem, 2.4vw, 1.85rem);
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.crm-close-copy > p:last-child {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.02rem;
    line-height: 1.65;
}

.crm-close .btn-primary {
    flex-shrink: 0;
    white-space: nowrap;
    box-shadow: 0 12px 28px rgba(255, 101, 0, 0.35);
}

.crm-hero-anim {
    animation: crmHeroIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes crmHeroIn {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes crmPillIn {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.crm-mobile-nav {
    display: none;
}

@media (max-width: 900px) {
    .crm-platform {
        padding: 22px 12px 18px;
    }

    .crm-platform .section-header {
        margin-bottom: 16px;
    }

    .crm-platform .section-header h2 {
        font-size: 1.35rem;
    }

    .crm-platform .section-header > p:not(.crm-flow-badge):not(.crm-hero-badge) {
        font-size: 0.9rem;
        margin-top: 10px;
    }

    /* Compact pill tabs — swipeable, not full cards */
    .crm-steps {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 8px;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-snap-type: x proximity;
        scroll-padding-inline: 4px;
        margin: 0 0 12px;
        padding: 2px 2px 10px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .crm-steps::-webkit-scrollbar {
        display: none;
    }

    .crm-step {
        flex: 0 0 auto;
        width: auto;
        min-width: 0;
        display: inline-flex;
        flex-direction: row;
        align-items: center;
        gap: 8px;
        padding: 9px 12px 9px 10px;
        border-radius: 999px;
        transform: none;
        box-shadow: none;
        scroll-snap-align: start;
    }

    .crm-step:hover {
        transform: none;
    }

    .crm-step.is-active {
        background: linear-gradient(160deg, #fff7ed 0%, #ffffff 60%);
        border-color: rgba(255, 101, 0, 0.55);
        box-shadow: 0 8px 18px rgba(255, 101, 0, 0.18);
    }

    .crm-step:not(.is-active) {
        opacity: 0.72;
    }

    .crm-step.is-active::after {
        display: none;
    }

    .crm-step-top {
        display: flex;
        align-items: center;
        gap: 0;
    }

    .crm-step-num {
        display: none;
    }

    .crm-step-icon {
        width: 30px;
        height: 30px;
        border-radius: 50%;
        font-size: 1rem;
    }

    .crm-step-text {
        gap: 0;
    }

    .crm-step-text strong {
        font-size: 0.88rem;
        white-space: nowrap;
    }

    .crm-step-text small {
        display: none;
    }

    .crm-stage {
        margin-top: 0;
        padding: 12px;
        border-radius: 18px;
    }

    .crm-stage-head {
        margin-bottom: 10px;
        padding: 0 2px;
    }

    .crm-stage-progress {
        font-size: 0.82rem;
    }

    .crm-stage-cue {
        display: none;
    }

    /* Image first, then short text */
    .crm-tab-panel {
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding: 0;
        background: transparent;
        border: 0;
        box-shadow: none;
    }

    .crm-tab-visual {
        order: 1;
    }

    .crm-tab-copy {
        order: 2;
    }

    .crm-shot-stage {
        min-height: 0;
        padding: 10px 4px 18px;
    }

    .crm-shot-device {
        width: 100%;
        transform: none;
    }

    .crm-tab-panel.is-active .crm-shot-device {
        animation: none;
        transform: none;
    }

    .crm-shot-bezel {
        border-width: 7px;
        border-bottom-width: 9px;
        border-radius: 12px 12px 6px 6px;
    }

    .crm-shot-base {
        height: 9px;
        width: 104%;
        margin-left: -2%;
    }

    .crm-shot-float {
        font-size: 0.68rem;
        padding: 7px 9px;
        gap: 6px;
        border-radius: 12px;
    }

    .crm-shot-float-icon {
        width: 22px;
        height: 22px;
        font-size: 0.8rem;
    }

    .crm-shot-float-top {
        top: 2%;
        right: -2px;
    }

    .crm-shot-float-bottom {
        left: -2px;
        bottom: 2%;
    }

    .crm-tab-kicker {
        display: none;
    }

    .crm-tab-copy h3 {
        font-size: 1.15rem;
        line-height: 1.3;
        margin: 0 0 12px;
        max-width: none;
    }

    /* 2–3 checklist bullets under the image */
    .crm-benefit-cols {
        gap: 10px;
    }

    .crm-benefit {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        padding: 0;
        border: 0;
        background: transparent;
        border-radius: 0;
        box-shadow: none;
    }

    .crm-benefit:hover {
        transform: none;
        border-color: transparent;
        box-shadow: none;
    }

    .crm-benefit:nth-child(n + 4) {
        display: none;
    }

    .crm-benefit-icon {
        width: 22px;
        height: 22px;
        margin-top: 1px;
        border-radius: 50%;
        background: rgba(255, 101, 0, 0.12);
        color: #ff6500;
        font-size: 0.78rem;
        font-weight: 800;
        box-shadow: none;
    }

    .crm-benefit-icon i {
        display: none;
    }

    .crm-benefit-icon::after {
        content: "✓";
        line-height: 1;
    }

    .crm-benefit h4 {
        font-size: 0.92rem;
        font-weight: 600;
        margin: 0;
        line-height: 1.4;
        color: #334155;
    }

    .crm-benefit p {
        display: none;
    }

    .crm-status-chips {
        display: none;
    }

    .crm-mobile-nav {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        margin-top: 12px;
    }

    .crm-mobile-nav-btn {
        appearance: none;
        border: 1px solid rgba(15, 27, 51, 0.1);
        background: #ffffff;
        color: #0f1b33;
        border-radius: 12px;
        min-height: 42px;
        padding: 8px 12px;
        font: inherit;
        font-size: 0.86rem;
        font-weight: 700;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        cursor: pointer;
    }

    .crm-mobile-nav-btn.is-next {
        background: linear-gradient(135deg, #ff6500, #ff8a3d);
        border-color: transparent;
        color: #ffffff;
    }

    .crm-mobile-nav-btn:disabled {
        opacity: 0.4;
        cursor: not-allowed;
    }

    .crm-mobile-nav-btn i {
        font-size: 1.15rem;
    }
}

@media (max-width: 992px) {
    .crm-close {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        padding: 32px 28px;
    }

    .crm-close-copy {
        max-width: none;
        text-align: center;
    }

    .crm-close .btn-primary {
        width: auto;
        align-self: center;
        justify-content: center;
        padding: 12px 24px;
        font-size: 1rem;
    }

    .crm-hero-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .crm-tab-panel {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    @media (max-width: 900px) {
        .crm-tab-panel {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }
    }

    .crm-feature-grid {
        grid-template-columns: 1fr 1fr;
    }

    .crm-platform {
        padding: 28px 16px 24px;
    }

    .crm-features .crm-feature-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .crm-features .crm-feature-card {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        gap: 12px 14px;
        align-items: start;
        padding: 14px 14px;
        border-radius: 16px;
        background: #ffffff;
    }

    .crm-features .crm-feature-card::before {
        width: 3px;
        height: auto;
        inset: 10px auto 10px 0;
        border-radius: 999px;
        background: linear-gradient(180deg, #ff6500, #7c6cf0);
    }

    .crm-features .crm-feature-card:hover {
        transform: none;
    }

    .crm-features .crm-feature-icon {
        width: 42px;
        height: 42px;
        margin: 0;
        border-radius: 12px;
        font-size: 1.2rem;
    }

    .crm-features .crm-feature-card h3 {
        font-size: 0.98rem;
        margin-bottom: 4px;
    }

    .crm-features .crm-feature-card p {
        font-size: 0.82rem;
        line-height: 1.4;
    }

    .crm-stage {
        padding: 14px 12px 12px;
        border-radius: 22px;
    }

    .crm-stage-head {
        flex-wrap: wrap;
        margin-bottom: 10px;
    }

    .crm-tab-copy h3 {
        max-width: none;
    }

    .crm-hero {
        text-align: center;
        padding: 120px 0 40px;
        overflow-x: clip;
    }

    .crm-hero-copy {
        max-width: 40rem;
        margin: 0 auto;
        padding: 0 4px;
    }

    .crm-hero-badge {
        margin-left: auto;
        margin-right: auto;
    }

    .crm-hero-copy h1 {
        text-align: center;
        font-size: clamp(2rem, 7vw, 2.75rem);
        margin-bottom: 22px;
    }

    .crm-hero-benefits {
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 24px;
        text-align: left;
        max-width: 28rem;
    }

    .crm-hero-actions {
        justify-content: center;
        margin-bottom: 8px;
    }

    /* Same floating composition as desktop, scaled to fit the phone screen */
    .crm-hero-visual {
        --crm-compose-w: 560px;
        --crm-compose-h: 440px;
        --crm-compose-scale: 0.72;
        position: relative;
        display: flex;
        justify-content: center;
        align-items: flex-start;
        width: 100%;
        max-width: 100%;
        min-height: 0;
        height: calc(var(--crm-compose-h) * var(--crm-compose-scale) + 8px);
        margin: 8px auto 0;
        padding: 0;
        overflow: hidden;
    }

    .crm-hero-desktop-compose {
        display: grid;
        place-items: center;
        position: relative;
        width: var(--crm-compose-w);
        min-height: var(--crm-compose-h);
        flex: 0 0 var(--crm-compose-w);
        transform: scale(var(--crm-compose-scale));
        transform-origin: top center;
    }

    .crm-block {
        padding: 24px 16px;
    }

    .crm-status-chips {
        flex-wrap: wrap;
        justify-content: flex-start;
    }
}

@media (max-width: 600px) {
    .crm-explore-hint {
        font-size: 0.84rem;
        padding: 9px 12px;
        width: 100%;
        max-width: 22rem;
    }

    .crm-stage-progress {
        font-size: 0.84rem;
    }

    .crm-hero {
        padding: 112px 0 32px;
    }

    .crm-hero-copy h1 {
        font-size: 1.9rem;
        line-height: 1.15;
    }

    .crm-hero-benefits {
        gap: 10px;
        max-width: 100%;
    }

    .crm-hero-benefits li {
        font-size: 0.95rem;
    }

    .crm-hero-actions .btn {
        width: auto;
        justify-content: center;
        white-space: nowrap;
        min-height: 0;
        padding: 11px 20px;
        font-size: 0.95rem;
        gap: 6px;
    }

    .crm-hero-visual {
        --crm-compose-scale: 0.62;
        max-width: 100%;
    }

    .crm-tab-panel {
        padding: 18px 14px;
        gap: 18px;
    }

    .crm-tab-copy h3 {
        font-size: 1.35rem;
    }

    .crm-shot-frame {
        border-radius: 16px;
    }

    .crm-close {
        margin-top: 32px;
        padding: 28px 20px;
        flex-direction: column;
        text-align: center;
    }

    .crm-close-copy {
        max-width: none;
        text-align: center;
    }

    .crm-close .btn-primary {
        width: auto;
        align-self: center;
        justify-content: center;
        padding: 12px 22px;
        font-size: 0.95rem;
        gap: 6px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .crm-hero-anim,
    .crm-hero-actions .btn,
    .crm-hero-float-top,
    .crm-hero-float-bottom,
    .crm-shot-float,
    .crm-tab-panel.is-active .crm-shot-device,
    .crm-explore-hint,
    .crm-tab-panel,
    .crm-tab-panel.is-active .crm-tab-kicker,
    .crm-tab-panel.is-active .crm-tab-copy > h3,
    .crm-tab-panel.is-active .crm-benefit,
    .crm-tab-panel.is-active .crm-status-chips,
    .crm-tab-panel.is-active .crm-tab-visual {
        animation: none;
        transition: none;
    }

    .crm-benefit:hover,
    .crm-step:hover {
        transform: none;
    }
}

@media (max-width: 400px) {
    .crm-hero-visual {
        --crm-compose-scale: 0.54;
    }
}
