:root {
    --primary-red: #a20000;
    --text-main: #111111;
    --text-muted: #5c5c62;
    --surface: #ffffff;
    --surface-soft: #f9f3f2;
    --surface-strong: #fff7f6;
    --shadow-soft: 0 20px 50px rgba(0, 0, 0, 0.08);
    --shadow-card: 0 24px 60px rgba(0, 0, 0, 0.08);
}

body {
    margin: 0;
    background: linear-gradient(180deg, #fff 0%, #fbf3f3 45%, #fff 100%);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
}

.page-content {
    max-width: 1280px;
    margin: 0 auto;
    overflow: visible;
}

.erp-hero,
.section-block {
    position: relative;
    padding: 6rem 5vw 5rem;
}

.workflow-section {
    background: transparent;
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    max-width: 100vw;
    overflow: visible;
}

.workflow-decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: visible;
}

.workflow-star {
    position: absolute;
    width: clamp(140px, 12rem, 220px);
    opacity: 1;
}

.workflow-star-top-right {
    /* move lower so it doesn't overlap the workflow image */
    top: clamp(2rem, 6vw, 8rem);
    right: 0;
}

.workflow-star-bottom-left {
    /* push further down below the workflow card */
    bottom: -6rem;
    left: 0;
}


.workflow-top {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 2.5rem;
}

.workflow-title {
    font-size: clamp(3rem, 5vw, 4.4rem);
    margin: 0;
    line-height: 1.02;
}

.workflow-title span,
.highlight-red {
    color: var(--primary-red);
}

.workflow-top+.workflow-content {
    margin-top: 1.5rem;
}

.workflow-title {
    font-size: clamp(3rem, 5vw, 4.4rem);
    margin: 1rem 0 1.25rem;
    line-height: 1.02;
}

.workflow-content {
    display: grid;
    place-items: center;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1rem 2rem;
}

.workflow-card {
    width: min(100%, 920px);
    max-width: 100%;
    margin: 0 auto;
    border-radius: 40px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), #fff);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(162, 0, 0, 0.06);
}

.workflow-card img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 40px;
}

@media (max-width: 1024px) {
    .workflow-content {
        padding: 0 1rem 1rem;
    }

    .workflow-section {
        background: transparent;
    }
}

.workflow-card {
    width: min(100%, 920px);
    border-radius: 40px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.9);
}

.workflow-card img {
    display: block;
    width: 100%;
    height: auto;
}

@media (max-width: 1024px) {
    .workflow-content {
        grid-template-columns: 1fr;
    }

    .workflow-visual {
        justify-content: center;
    }
}

.erp-hero {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.erp-hero {
    background: radial-gradient(circle at top left, rgba(162, 0, 0, 0.12), transparent 18%),
        radial-gradient(circle at 95% 12%, rgba(158, 0, 0, 0.16), transparent 15%),
        linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(252, 242, 242, 1) 100%);
    overflow: hidden;
}

.hero-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.floating-decor {
    position: absolute;
    width: clamp(160px, 18vw, 240px);
    animation: floatDecor 10s ease-in-out infinite;
    opacity: 0.95;
}

.decor-hero-top-left {
    top: 1.5rem;
    left: -2rem;
}

.decor-hero-bottom-right {
    bottom: 0;
    right: -1rem;
}

.erp-hero-grid {
    display: grid;
    grid-template-columns: minmax(320px, 1.1fr) minmax(340px, 1fr);
    align-items: center;
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.hero-copy {
    max-width: 620px;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 1.2rem;
}

.erp-hero h1 {
    font-size: clamp(3.2rem, 5vw, 5.2rem);
    margin: 0;
    line-height: 0.95;
    letter-spacing: -0.03em;
}

.erp-hero h1 span,
.clarity-section h2 span,
.connected-section h2 span,
.lead-tracking-section h2 span,
.cta-section h2 span {
    color: var(--primary-red);
}

.hero-text,
.section-copy {
    font-size: 1.1rem;
    line-height: 1.85;
    max-width: 680px;
    color: var(--text-muted);
    margin: 1.5rem 0 2.25rem;
}

.clarity-section {
    background: radial-gradient(circle at top left, rgba(255, 229, 229, 0.9), transparent 28%),
        radial-gradient(circle at top right, rgba(255, 220, 223, 0.55), transparent 32%),
        linear-gradient(180deg, #fff 0%, #fff2f2 100%);
    overflow: hidden;
}

.clarity-panel {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 3.5rem;
    padding: 3rem 2.5rem 2.5rem;
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.85);
    max-width: 1180px;
    margin: 0 auto;
}

.clarity-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(2, minmax(320px, 1fr));
    align-items: stretch;
}

.clarity-card {
    background: #fff;
    border-radius: 2rem;
    padding: 2.25rem 2rem;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
    display: grid;
    gap: 1.25rem;
    min-height: 280px;
}

.clarity-card h3 {
    margin: 0;
    font-size: 1.3rem;
    line-height: 1.16;
    font-weight: 700;
}

.clarity-card h3 strong {
    font-weight: 900;
}

.clarity-card p {
    margin: 0;
    color: #6c6c72;
    line-height: 1.85;
    font-size: 0.98rem;
}

.icon-holder {
    width: 64px;
    height: 64px;
    border-radius: 24px;
    display: grid;
    place-items: center;
    background: rgba(255, 231, 235, 0.95);
    color: var(--primary-red);
    font-size: 1.3rem;
}

@media (max-width: 1280px) {
    .clarity-grid {
        grid-template-columns: repeat(2, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .clarity-grid {
        grid-template-columns: 1fr;
    }

    .clarity-panel {
        padding: 2rem 1.25rem 1.5rem;
    }
}

.hero-buttons,
.cta-actions {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--primary-red);
    color: #fff;
    box-shadow: 0 18px 40px rgba(162, 0, 0, 0.18);
}

.btn-secondary {
    background: #151515;
    color: #fff;
}

.hero-media {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 520px;
}

.hero-media-card {
    border-radius: 40px;
    overflow: hidden;
    background: transparent;
    box-shadow: var(--shadow-card);
    min-height: 420px;
    width: min(100%, 520px);
}

.screen-card {
    border-radius: 56px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.10);
    min-height: 420px;
    width: min(100%, 920px);
    padding: 2rem;
    margin-left: auto;
    border: 1px solid rgba(162, 0, 0, 0.06);
}

.hero-media {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 520px;
}

.hero-wheel {
    width: min(90%, 420px);
    max-width: 420px;
    filter: sepia(1) hue-rotate(303deg) saturate(3.8) brightness(0.88) contrast(1.15);
    animation: wheel-rotate 35s linear infinite;
    transform-origin: center center;
    position: relative;
    z-index: 2;
}

.hero-small-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.hero-small-shape {
    position: absolute;
    width: clamp(90px, 10vw, 170px);
    max-width: 190px;
    animation: floatDecor 8s ease-in-out infinite alternate;
}

.top-shape {
    top: clamp(0.5rem, 3vw, 1.5rem);
    left: clamp(0.6rem, 3vw, 2.5rem);
    transform-origin: center center;
    transform: rotate(180deg) !important;
    -webkit-transform: rotate(180deg) !important;
    z-index: 3;
}

.bottom-shape {
    bottom: clamp(0.8rem, 3vh, 2.5rem);
    right: clamp(0.6rem, 3vw, 2.5rem);
    transform: rotate(-18deg);
}

@media (max-width: 820px) {
    .hero-small-shapes {
        display: none;
    }
}

.hero-media-card img,
.screen-card img,
.hero-wheel {
    display: block;
    width: 100%;
    height: auto;
}

.screen-card img {
    border-radius: 44px;
}

.hero-torus {
    filter: grayscale(1) brightness(0.85) contrast(1.05);
}

.layout-two-col {
    display: grid;
    grid-template-columns: 1.1fr minmax(360px, 1fr);
    align-items: center;
    gap: 3rem;
}

.lead-tracking-section {
    background: radial-gradient(circle at top left, rgba(162, 0, 0, 0.08), transparent 24%),
        linear-gradient(180deg, #fff 0%, #fff 100%);
}

.lead-tracking-section .section-inner {
    display: grid;
    grid-template-columns: 1.1fr minmax(360px, 1fr);
    gap: 3rem;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
}

.image-block {
    display: flex;
    justify-content: flex-end;
}

.screen-card {
    border-radius: 40px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(162, 0, 0, 0.12);
    padding: 1.2rem;
    width: min(100%, 720px);
}

@keyframes wheel-rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.cta-section {
    position: relative;
    left: 50%;
    right: 50%;
    width: 100vw;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: visible;
    padding: 7rem 0 5.5rem;
    background: linear-gradient(180deg, #fff9f7 0%, #f3d6d4 100%);
    z-index: 0;
}

.cta-graphics {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: visible;
}

.cta-wheel {
    position: absolute;
    width: clamp(200px, 18vw, 360px);
    opacity: 0.9;
    filter: saturate(1.05) brightness(1.05);
    transform-origin: center center;
}

.cta-wheel-left {
    left: 4vw;
    top: 12%;
    animation: wheel-rotate 36s linear infinite;
}

.cta-wheel-right {
    right: 4vw;
    bottom: 10%;
    animation: wheel-rotate 30s linear infinite reverse;
}

.cta-card {
    position: relative;
    z-index: 1;
    background: transparent;
    padding: 0 1rem;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    max-width: 920px;
    margin: 0 auto;
    box-shadow: none;
    text-align: center;
}

.cta-card h2 {
    margin: 0;
    font-size: clamp(3rem, 4vw, 4.8rem);
    line-height: 1.02;
}

.cta-card p {
    margin: 0;
    color: var(--text-muted);
    max-width: 700px;
    text-align: center;
}

.cta-actions {
    display: inline-flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.reverse-on-mobile {
    grid-auto-flow: dense;
}

.text-block {
    max-width: 760px;
}

.lead-tracking-section h2 {
    font-size: clamp(3rem, 4vw, 5.2rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 0.96;
    max-width: 820px;
    margin-bottom: 1rem;
}

.lead-tracking-section h2 span {
    display: inline-block;
    white-space: nowrap;
}

.section-label,
.micro-title {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.8);
    color: var(--primary-red);
    letter-spacing: 0.14em;
    font-weight: 700;
    padding: 0.65rem 1.05rem;
    border-radius: 999px;
    text-transform: none;
    font-size: 0.82rem;
    margin-bottom: 1.35rem;
    border: 1px solid rgba(162, 0, 0, 0.12);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.08);
}

.section-center {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 3rem;
}

.section-center h2,
.lead-tracking-section h2 {
    margin: 0;
    line-height: 1.02;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.lead-tracking-section h2 {
    font-size: clamp(4rem, 4.7vw, 5.6rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 0.95;
    margin-bottom: 1rem;
}

.feature-list {
    display: grid;
    gap: 1rem;
    margin-top: 2.4rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.1rem 1.5rem;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 36px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(222, 0, 0, 0.08);
    color: var(--text-main);
    font-weight: 700;
}

.feature-icon {
    position: relative;
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #e9e9e9;
    color: #1f1f23;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.feature-icon::after {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary-red);
    bottom: 8px;
    right: 8px;
    box-shadow: 0 8px 20px rgba(162, 0, 0, 0.18);
}

.feature-icon i {
    font-size: 1.25rem;
}

.feature-list i {
    color: inherit;
}

.connected-grid {
    display: grid;
    gap: 1.8rem;
    grid-template-columns: repeat(3, minmax(240px, 1fr));
}

.connected-card,
.metric-card {
    background: #fff;
    border-radius: 32px;
    padding: 2rem;
    box-shadow: var(--shadow-soft);
}

.connected-card {
    display: grid;
    gap: 1.1rem;
}

.icon-holder {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: rgba(162, 0, 0, 0.1);
    color: var(--primary-red);
    font-size: 1.35rem;
}

.connected-card h3,
.metric-card .metric-label,
.section-center h2,
.lead-tracking-section h2,
.cta-section h2 {
    color: var(--text-main);
}

.connected-card p,
.section-center p,
.lead-tracking-section p {
    margin: 0;
    color: var(--text-muted);
}

.metric-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.small-card {
    padding: 1.5rem;
}

.small-card .metric-label,
.metric-card .metric-value {
    margin: 0;
}

.metric-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 0.75rem;
}

.metric-value {
    font-size: 2rem;
    font-weight: 800;
}

.metrics-section {
    overflow: visible;
}

.stat-ring {
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: conic-gradient(var(--primary-red) 0deg 345deg, rgba(255, 231, 233, 0.6) 345deg 360deg);
    display: grid;
    place-items: center;
    position: relative;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.06), inset 0 0 0 6px rgba(255, 255, 255, 0.9);
}

.stat-ring::after {
    content: '';
    position: absolute;
    inset: 28px;
    border-radius: 50%;
    background: #fff;
}

.stat-number {
    position: relative;
    font-size: 2.6rem;
    font-weight: 900;
    color: var(--primary-red);
}

.metrics-panel {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: flex-start;
}

.metrics-copy {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-top: 1rem;
}

.metrics-heading {
    font-size: clamp(2.6rem, 5vw, 4.2rem);
    line-height: 1.08;
    margin: 0;
}

.metrics-copy .section-copy {
    max-width: 520px;
    margin: 0;
}



.mini-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-red);
    border-radius: 16px 16px 0 0;
}

.mini-top {
    grid-column: 2 / 4;
    grid-row: 1;
    justify-self: end;
    width: 150px;
    margin-right: -20px;
}

.mini-left {
    grid-column: 1;
    grid-row: 2;
    justify-self: center;
    width: 130px;
}

.mini-right {
    grid-column: 3;
    grid-row: 3;
    justify-self: center;
    width: 130px;
}

.mini-card .metric-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: capitalize;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-top: 0.25rem;
}

.mini-card .metric-value {
    font-weight: 900;
    color: var(--primary-red);
    font-size: 1.55rem;
    line-height: 1;
}

/* ── Metrics Visual ── */
.metrics-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 480px;
    padding: 5rem 5.5rem 4rem 3rem;
    /* extra right + top padding */
}

/* Main donut card */
.main-stat-card {
    background: #fff;
    border-radius: 2rem;
    padding: 2.5rem 2.25rem 2rem;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.4rem;
    width: 260px;
    z-index: 1;
    position: relative;
}

/* Donut ring */
.stat-ring {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: conic-gradient(var(--primary-red) 0deg 345.6deg, #fde8e8 345.6deg 360deg);
    display: grid;
    place-items: center;
    position: relative;
}

.stat-ring::after {
    content: '';
    position: absolute;
    inset: 22px;
    border-radius: 50%;
    background: #fff;
}

.stat-number {
    position: relative;
    z-index: 1;
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-red);
}

/* Stat footer inside main card */
.stat-footer {
    display: flex;
    gap: 1.25rem;
    font-size: 0.82rem;
    color: var(--text-muted);
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.stat-footer span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 500;
}

.stat-footer strong {
    color: var(--text-main);
    font-weight: 800;
}

.dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.dot-light {
    background: #f5c0c0;
}

.dot-red {
    background: var(--primary-red);
}

/* Support line */
.stat-support {
    margin: 0;
    font-size: 0.78rem;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.6;
}

.stat-link {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 600;
}

.stat-link:hover {
    text-decoration: underline;
}

/* ── Floating cards ── */
.float-card {
    position: absolute;
    background: #fff;
    border-radius: 1.1rem;
    padding: 0.85rem 1.1rem;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 2;
    min-width: 150px;
}

.float-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 500;
    white-space: nowrap;
}

.float-val {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.1;
}

/* New clients — top right */
.float-top {
    top: 0.75rem;
    right: 0.75rem;
}


.float-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-red);
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 1rem;
    flex-shrink: 0;
}

.sparkline {
    width: 60px;
    height: 28px;
    margin-left: auto;
}

/* Impression — left */
.float-left {
    left: -0.5rem;
    top: 50%;
    transform: translateY(-50%);
}


/* Earnings — right */
.float-right {
    right: 0.75rem;
    bottom: 1.5rem;
}


.float-chart-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(162, 0, 0, 0.1);
    display: grid;
    place-items: center;
    color: var(--primary-red);
    font-size: 1rem;
    flex-shrink: 0;
}

/* ── Responsive ── */
@media (max-width: 1080px) {
    .metrics-visual {
        min-height: 380px;
        padding: 4rem 4rem 3rem;
    }
}

@media (max-width: 820px) {
    .metrics-visual {
        padding: 5rem 2rem 3rem;
    }

    .float-top {
        right: 0;
        top: -0.5rem;
    }

    .float-left {
        left: -0.5rem;
    }

    .float-right {
        right: -0.5rem;
    }
}

@media (max-width: 560px) {
    .metrics-visual {
        flex-direction: column;
        padding: 8rem 1rem 7rem;
        min-height: auto;
    }

    .float-card {
        min-width: 130px;
    }

    .float-top {
        top: 0.5rem;
        right: 0;
    }

    .float-left {
        left: 0;
        top: 38%;
        transform: none;
    }

    .float-right {
        right: 0;
        bottom: 8%;
    }
}

.large-stat {
    border-radius: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.metrics-copy .btn {
    padding: 1rem 2.2rem;
    border-radius: 999px;
    box-shadow: 0 24px 60px rgba(162, 0, 0, 0.18);
    align-self: flex-start;
    margin-top: 0.5rem;
}

.connected-grid {
    grid-template-columns: repeat(3, minmax(240px, 1fr));
}

.connected-card {
    display: grid;
    gap: 1.1rem;
}

.card-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: rgba(162, 0, 0, 0.12);
    color: var(--primary-red);
    font-size: 1.35rem;
}

.feature-list {
    display: grid;
    gap: 1rem;
    margin-top: 2.4rem;
}

.feature-list div {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: #fff;
    border-radius: 28px;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.08);
    font-weight: 700;
    color: var(--text-main);
}

.feature-list i {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(162, 0, 0, 0.12);
    color: var(--primary-red);
    font-size: 1.05rem;
    flex-shrink: 0;
}

.cta-card {
    background: transparent;
    padding: 0;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: none;
}

.cta-card h2 {
    margin: 0;
    font-size: clamp(3rem, 4vw, 4.4rem);
    line-height: 1.02;
    text-align: center;
}

.cta-card p {
    margin: 0;
    color: var(--text-muted);
    max-width: 700px;
    text-align: center;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

.animate-on-scroll.animate-in {
    opacity: 1;
    transform: translateY(0);
}

@keyframes floatDecor {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-18px) rotate(6deg);
    }
}

@media (max-width: 1080px) {

    .metrics-panel,
    .layout-two-col,
    .lead-tracking-section .section-inner,
    .clarity-grid,
    .connected-grid {
        grid-template-columns: 1fr;
    }

    .image-block {
        justify-content: center;
    }

    .metrics-cards {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 820px) {

    .erp-hero,
    .section-block {
        padding: 3.5rem 5% 3rem;
    }

    .hero-copy,
    .text-block {
        max-width: 100%;
    }

    .hero-buttons,
    .cta-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .hero-hero-grid,
    .layout-two-col {
        gap: 2rem;
    }

    .cta-card {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 560px) {

    .hero-copy h1,
    .section-center h2,
    .lead-tracking-section h2,
    .cta-card h2 {
        font-size: 2.4rem;
    }

    .metrics-visual {
        grid-template-columns: 1fr;
        gap: 1rem;
        min-height: auto;
    }

    .mini-card,
    .stat-card {
        width: 100%;
        max-width: 100%;
        min-width: auto;
    }

    .mini-top,
    .mini-left,
    .mini-right,
    .stat-card {
        grid-column: 1 !important;
        grid-row: auto !important;
    }

    .stat-ring {
        width: 160px;
        height: 160px;
    }

    .stat-ring::after {
        inset: 16px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-footer {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* Responsive: hide decorative stars on small screens to avoid overlapping content */
@media (max-width: 820px) {
    .workflow-star {
        display: none;
    }
}