/* Home page sections. Order here mirrors the order on the page. */

/* ---------- Hero with Split SaaS Showcase & Subtle Motion ---------- */
.hero {
    position: relative;
    overflow: hidden;
    padding-block: clamp(32px, 4.5vw, 56px) 0;
    color: var(--color-text);
    background: linear-gradient(145deg, #eef3f9 0%, #e4ecf7 56%, #dff4ec 100%);
}

.hero__backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 80% 30%, rgba(14, 165, 233, 0.08), transparent 44%),
        radial-gradient(circle at 16% 70%, rgba(16, 185, 129, 0.06), transparent 40%);
    pointer-events: none;
    z-index: 1;
}

.hero__grid {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.04fr);
    align-items: center;
    gap: clamp(24px, 3.5vw, 44px);
}

.hero__copy {
    text-align: start;
}

.hero__pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 4px 12px;
    border: 1px solid rgba(16, 185, 129, 0.22);
    border-radius: var(--radius-pill);
    background: rgba(16, 185, 129, 0.06);
    color: var(--color-brand-hover);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
}

.hero h1 {
    margin-top: 14px;
    color: var(--color-navy);
    font-size: clamp(1.75rem, 2.9vw, 2.38rem);
    letter-spacing: -0.025em;
    line-height: 1.18;
}

.hero h1 span { display: block; }
.hero h1 .hero__title-top {
    font-weight: 800;
    margin-bottom: 3px;
}
.hero h1 .hero__accent {
    font-weight: 800;
    background: linear-gradient(135deg, #059669 0%, #0284c7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: opacity 0.42s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero h1 .hero__accent.is-switching {
    opacity: 0;
    transform: translateY(-8px);
}

.hero__lead {
    max-width: 490px;
    margin: 14px 0 0;
    font-size: clamp(0.92rem, 1.1vw, 0.98rem);
    line-height: 1.68;
    color: var(--color-text-muted);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
}

.hero__actions .button {
    padding: 9px 18px;
    font-size: 13.5px;
}

.hero__cta-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border-radius: var(--radius-pill);
    padding-inline: 18px 8px;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.18);
}

.hero__cta-dot {
    display: inline-grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--color-white);
    color: var(--color-brand-hover);
    font-size: 13px;
    font-weight: 800;
    transition: transform 0.25s ease;
}

.hero__cta-pill:hover .hero__cta-dot {
    transform: translateX(3px);
}

[dir='rtl'] .hero__cta-pill:hover .hero__cta-dot {
    transform: translateX(-3px);
}

.button-ghost {
    border: 1px solid transparent;
    background: transparent;
    color: var(--color-navy);
}
.button-ghost:hover {
    background: rgba(15, 23, 42, 0.05);
}

/* ---------- Hero Visual Collage & Animations ---------- */
.hero__visual {
    position: relative;
    min-height: 345px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero__arrow {
    position: absolute;
    inset-block-start: -8px;
    inset-inline-start: -38px;
    width: 112px;
    height: auto;
    color: #3b82f6;
    opacity: 0.72;
    z-index: 4;
    pointer-events: none;
    animation: heroArrowFloat 7s ease-in-out infinite;
}

[dir='rtl'] .hero__arrow {
    transform: scaleX(-1);
    animation: heroArrowFloatRtl 7s ease-in-out infinite;
}

.hero__arrow-path {
    stroke-dasharray: 280;
    stroke-dashoffset: 0;
    animation: heroArrowDraw 1.5s ease-out both;
}

/* 3D Iridescent Glass Accent */
.hero__orb {
    position: absolute;
    inset-block-end: -8px;
    inset-inline-start: -32px;
    width: 96px;
    height: 96px;
    z-index: 4;
    pointer-events: none;
    animation: heroOrbFloat 9s ease-in-out infinite;
}

.hero__orb-ring {
    position: absolute;
    inset: 0;
    border-radius: 44% 56% 52% 48% / 48% 44% 56% 52%;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.16), rgba(56, 189, 248, 0.24), rgba(168, 85, 247, 0.14));
    border: 1px solid rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(8px);
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06), inset 0 1px 10px rgba(255, 255, 255, 0.65);
}

.hero__orb-ring--1 {
    transform: rotate(-18deg) scale(0.92);
}
.hero__orb-ring--2 {
    inset: 12px;
    transform: rotate(22deg);
    background: linear-gradient(155deg, rgba(56, 189, 248, 0.24), rgba(255, 255, 255, 0.45));
}
.hero__orb-ring--3 {
    inset: 22px;
    transform: rotate(-8deg);
    background: linear-gradient(125deg, rgba(16, 185, 129, 0.20), rgba(59, 130, 246, 0.18));
}

/* Mockup Collage */
.hero__collage {
    position: relative;
    width: 100%;
    max-width: 490px;
    height: 325px;
}

.mockup-card {
    position: absolute;
    border-radius: 12px;
    background: var(--color-white);
    border: 1px solid rgba(15, 23, 42, 0.07);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.07), 0 2px 8px rgba(15, 23, 42, 0.04);
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.mockup-card__bar {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 10px;
    background: #f8fafc;
    border-bottom: 1px solid #eef2f7;
}
.mockup-card__bar span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #cbd5e1;
}
.mockup-card__bar span:first-child { background: #f87171; }
.mockup-card__bar span:nth-child(2) { background: #fbbf24; }
.mockup-card__bar span:nth-child(3) { background: #34d399; }

.mockup-card__bar--dark {
    background: #131c31;
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

/* Back-Left Card */
.mockup-card--left {
    inset-block-start: 38px;
    inset-inline-start: 0;
    width: 34%;
    height: 205px;
    z-index: 1;
    animation: heroFloatSlow 8.5s ease-in-out infinite;
}

.mockup-card__body {
    padding: 12px;
    display: grid;
    gap: 12px;
}

.mockup-kpi-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}
.mockup-pill-stat {
    height: 22px;
    border-radius: 6px;
    background: #f1f5f9;
}
.mockup-pill-stat--accent {
    background: rgba(16, 185, 129, 0.16);
}

.mockup-bars {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 82px;
    padding: 8px;
    border-radius: 8px;
    background: #f8fafc;
}
.mockup-bars span {
    flex: 1;
    height: var(--h);
    border-radius: 4px 4px 0 0;
    background: linear-gradient(180deg, #38bdf8 0%, #0284c7 100%);
}

.mockup-lines {
    display: grid;
    gap: 6px;
}
.mockup-lines span {
    height: 7px;
    border-radius: 4px;
    background: #e2e8f0;
}
.mockup-lines span:nth-child(2) { width: 78%; }
.mockup-lines span:nth-child(3) { width: 58%; }

/* Main Center Card */
.mockup-card--main {
    inset-block-start: 4px;
    inset-inline-start: 18%;
    width: 58%;
    height: 282px;
    z-index: 2;
    animation: heroFloatMain 8s ease-in-out infinite;
}

.mockup-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: #0f172a;
    color: #fff;
}
.mockup-dots { display: flex; gap: 5px; }
.mockup-dots span { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.35); }
.mockup-nav-pills { display: flex; gap: 6px; }
.mockup-nav-pills span { width: 26px; height: 6px; border-radius: 4px; background: rgba(255,255,255,0.22); }
.mockup-avatar { width: 16px; height: 16px; border-radius: 50%; background: #10b981; }

.mockup-card__main-grid {
    display: grid;
    grid-template-columns: 44px 1fr;
    height: calc(100% - 36px);
}
.mockup-sidebar {
    padding: 12px 8px;
    background: #f8fafc;
    border-inline-end: 1px solid #eef2f7;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.mockup-sidebar span {
    height: 8px;
    border-radius: 4px;
    background: #cbd5e1;
}
.mockup-sidebar span:first-child { background: #10b981; }

.mockup-workspace {
    padding: 12px;
    display: grid;
    gap: 10px;
    align-content: start;
}
.mockup-stat-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}
.mockup-mini-box {
    padding: 7px 6px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #eef2f7;
    text-align: center;
}
.mockup-mini-box strong {
    display: block;
    font-size: 11px;
    font-weight: 800;
    color: var(--color-navy);
}
.mockup-mini-box small {
    display: block;
    font-size: 9px;
    color: var(--color-text-muted);
}

.mockup-chart-area {
    border-radius: 10px;
    border: 1px solid #eef2f7;
    background: #ffffff;
    padding: 6px 6px 0;
}
.mockup-chart-area svg {
    width: 100%;
    height: 68px;
    display: block;
}

.mockup-table {
    display: grid;
    gap: 6px;
}
.mockup-table__row {
    display: grid;
    grid-template-columns: 1.4fr 1fr 34px;
    gap: 8px;
    align-items: center;
    padding: 6px 8px;
    border-radius: 6px;
    background: #f8fafc;
}
.mockup-table__row span {
    height: 6px;
    border-radius: 4px;
    background: #cbd5e1;
}
.mockup-table__row span.is-badge {
    height: 10px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.25);
}

/* Right Dark-Mode Card */
.mockup-card--dark {
    inset-block-start: 38px;
    inset-inline-end: 0;
    width: 36%;
    height: 192px;
    background: #0f172a;
    border-color: rgba(255, 255, 255, 0.10);
    z-index: 3;
    animation: heroFloatAlt 9s ease-in-out infinite;
}

.mockup-dark-body {
    padding: 14px 12px;
    display: grid;
    gap: 14px;
}
.mockup-donut {
    position: relative;
    width: 66px;
    height: 66px;
    margin-inline: auto;
    display: grid;
    place-items: center;
}
.mockup-donut svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}
.mockup-donut__track {
    fill: none;
    stroke: rgba(255, 255, 255, 0.12);
    stroke-width: 4;
}
.mockup-donut__fill {
    fill: none;
    stroke: #38bdf8;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 107;
    stroke-dashoffset: 24;
}
.mockup-donut span {
    position: absolute;
    color: #f8fafc;
    font-size: 11px;
    font-weight: 700;
}

.mockup-dark-bars {
    display: flex;
    align-items: flex-end;
    gap: 5px;
    height: 76px;
    padding: 8px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
}
.mockup-dark-bars span {
    flex: 1;
    height: var(--h);
    border-radius: 3px 3px 0 0;
    background: linear-gradient(180deg, #34d399 0%, #0284c7 100%);
}

/* Front Bottom-Right Card */
.mockup-card--front {
    inset-block-end: 6px;
    inset-inline-end: 10%;
    width: 43%;
    height: 120px;
    z-index: 4;
    animation: heroFloatFront 7.5s ease-in-out infinite;
}

.mockup-front-body {
    padding: 10px 12px;
    display: grid;
    gap: 8px;
}
.mockup-front-wave svg {
    width: 100%;
    height: 44px;
    display: block;
}
.mockup-front-rows {
    display: grid;
    gap: 5px;
}
.mockup-front-rows span {
    height: 6px;
    border-radius: 4px;
    background: #e2e8f0;
}
.mockup-front-rows span:last-child { width: 65%; }

@keyframes heroFloatMain {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-4px); }
}
@keyframes heroFloatSlow {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(4px); }
}
@keyframes heroFloatAlt {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}
@keyframes heroFloatFront {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(3.5px); }
}
@keyframes heroOrbFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-6px) rotate(4deg); }
}
@keyframes heroArrowFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-3px); }
}
@keyframes heroArrowFloatRtl {
    0%, 100% { transform: scaleX(-1) translateY(0px); }
    50% { transform: scaleX(-1) translateY(-3px); }
}
@keyframes heroArrowDraw {
    from { stroke-dashoffset: 280; }
    to { stroke-dashoffset: 0; }
}

.hero__trust-wrapper {
    position: relative;
    z-index: 3;
    margin-top: clamp(24px, 3.5vw, 40px);
    border-block-start: 1px solid rgba(15, 23, 42, 0.09);
    background: rgba(248, 250, 252, 0.85);
    backdrop-filter: blur(10px);
}

.hero__trust {
    display: grid;
    gap: 12px 24px;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    padding-block: 16px;
    text-align: start;
}

.hero__trust li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-body);
}

.hero__trust svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    fill: none;
    stroke: var(--color-brand);
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ---------- Pillars (Asymmetric Editorial Split) ---------- */
.section--pillars {
    background: var(--color-white);
}

.pillars-split {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(28px, 4.5vw, 60px);
    align-items: start;
}

.pillars-split__intro h2 {
    margin-bottom: 14px;
}

.pillars-split__intro p {
    color: var(--color-text-muted);
    font-size: 0.96rem;
    line-height: 1.72;
    max-width: 440px;
}

.pillars-list {
    display: grid;
    gap: 12px;
}

.pillar-row {
    position: relative;
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 16px;
    align-items: start;
    padding: 18px 20px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.06);
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
                background-color 0.25s ease,
                border-color 0.25s ease,
                box-shadow 0.25s ease;
}

.pillar-row:hover {
    transform: translateX(4px);
    background: var(--color-white);
    border-color: rgba(16, 185, 129, 0.32);
    box-shadow: var(--shadow-md);
}

[dir='rtl'] .pillar-row:hover {
    transform: translateX(-4px);
}

.pillar-row__num {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: var(--color-white);
    border: 1px solid rgba(15, 23, 42, 0.08);
    color: var(--color-brand-hover);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.pillar-row:hover .pillar-row__num {
    background: var(--color-brand);
    border-color: var(--color-brand);
    color: var(--color-white);
}

.pillar-row__content h3 {
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 4px;
}

.pillar-row__content p {
    color: var(--color-text-muted);
    font-size: 13.6px;
    line-height: 1.6;
}

/* ---------- Services (2x2 Crafted Bento) ---------- */
.section--services {
    background: linear-gradient(180deg, #eaf0f7 0%, #e4ebf5 100%);
}

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

.service-bento {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 20px 18px 18px;
    border-radius: 16px;
    background: var(--color-white);
    border: 1px solid rgba(15, 23, 42, 0.07);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.28s ease,
                border-color 0.28s ease;
}

.service-bento::before {
    content: '';
    position: absolute;
    inset-block-start: 0;
    inset-inline: 0;
    height: 2px;
    background: linear-gradient(90deg, #10b981 0%, #0ea5e9 100%);
    opacity: 0;
    transform: scaleX(0.35);
    transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-bento:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(16, 185, 129, 0.32);
}

.service-bento:hover::before {
    opacity: 1;
    transform: scaleX(1);
}

.service-bento__glow {
    position: absolute;
    inset-block-start: -48px;
    inset-inline-end: -48px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.10) 0%, rgba(14, 165, 233, 0.05) 45%, transparent 72%);
    opacity: 0.45;
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.service-bento:hover .service-bento__glow {
    opacity: 1;
    transform: scale(1.15);
}

.service-bento__top {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.service-bento__icon .icon-badge {
    margin-bottom: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(14, 165, 233, 0.08) 100%);
    border: 1px solid rgba(16, 185, 129, 0.16);
    transition: transform 0.28s ease, background 0.28s ease;
}

.service-bento:hover .service-bento__icon .icon-badge {
    transform: scale(1.06);
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: var(--color-white);
}

.service-bento__index {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #cbd5e1;
    transition: color 0.28s ease;
}

.service-bento:hover .service-bento__index {
    color: var(--color-brand);
}

.service-bento__body {
    position: relative;
    z-index: 2;
    flex: 1;
}

.service-bento__body h3 {
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 7px;
}

.service-bento__body p {
    color: var(--color-text-muted);
    font-size: 13.8px;
    line-height: 1.62;
}

.service-bento__footer {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 18px;
    padding-top: 14px;
    border-block-start: 1px solid rgba(15, 23, 42, 0.05);
}

.service-bento__cta {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--color-brand-hover);
}

.service-bento__arrow {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.08);
    color: var(--color-navy);
    font-size: 13px;
    transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.service-bento:hover .service-bento__arrow {
    background: var(--color-brand);
    border-color: var(--color-brand);
    color: var(--color-white);
    transform: translateX(3px);
}

[dir='rtl'] .service-bento:hover .service-bento__arrow {
    transform: translateX(-3px);
}

/* ---------- Products Showcase Section ---------- */
.section--products-showcase {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.products-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}

/* ---------- About (Bento Photo Grid + Refined Copy) ---------- */
.section--about {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.about {
    display: grid;
    gap: clamp(28px, 4.5vw, 56px);
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
}

.about__bento {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    grid-template-rows: repeat(2, 165px);
    gap: 12px;
}

.about__bento-item {
    position: relative;
    margin: 0;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.06);
    background: var(--color-navy);
    box-shadow: var(--shadow-md);
}

.about__bento-item--tall {
    grid-row: span 2;
}

.about__bento-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.about__bento-item:hover img {
    transform: scale(1.04);
}

.about__copy p {
    margin-top: 12px;
    color: var(--color-text-muted);
    font-size: 0.96rem;
    line-height: 1.7;
}

.about__points {
    display: grid;
    gap: 10px;
    margin-block: 20px 24px;
}

.about__points li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-text);
    font-weight: 500;
    font-size: 14.5px;
}

.about__points svg {
    width: 19px;
    height: 19px;
    flex-shrink: 0;
    fill: none;
    stroke: var(--color-brand);
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

[dir='rtl'] .process-step__pill {
    transform: rotate(35deg);
}
[dir='rtl'] .process-step:hover .process-step__pill,
[dir='rtl'] .process-step:focus-visible .process-step__pill {
    transform: rotate(35deg) translateY(-2px) scale(1.03);
}
[dir='rtl'] .process-step.is-active .process-step__pill {
    transform: rotate(35deg) scale(1.05);
}
.section--process-timeline {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f7ff 100%);
    overflow: hidden;
}

.process-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    padding-top: 20px;
}

.process-timeline__track {
    position: absolute;
    inset-block-start: 39px;
    inset-inline: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #cbd5e1 10%, #cbd5e1 90%, transparent 100%);
    z-index: 1;
}

.process-step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    z-index: 2;
}
.process-step:focus-visible .process-step__card {
    outline: 2px solid var(--color-brand);
    outline-offset: 2px;
}

.process-step__marker {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    z-index: 3;
}

.process-step__pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 17px;
    border-radius: var(--radius-pill);
    background: var(--color-white);
    border: 1px solid rgba(15, 23, 42, 0.09);
    color: var(--color-navy);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: -0.01em;
    white-space: nowrap;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.05);
    transform: rotate(-35deg);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
                background-color 0.25s ease,
                color 0.25s ease,
                border-color 0.25s ease,
                box-shadow 0.25s ease;
}

.process-step:hover .process-step__pill,
.process-step:focus-visible .process-step__pill {
    transform: rotate(-35deg) translateY(-2px) scale(1.03);
    border-color: #93c5fd;
}

.process-step.is-active .process-step__pill {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    border-color: transparent;
    color: var(--color-white);
    box-shadow: 0 10px 22px rgba(16, 185, 129, 0.25);
    transform: rotate(-35deg) scale(1.05);
}

.process-step__stem {
    width: 1px;
    height: 30px;
    background: linear-gradient(180deg, #cbd5e1 0%, rgba(203, 213, 225, 0.2) 100%);
    transition: background 0.25s ease;
}

.process-step.is-active .process-step__stem {
    background: linear-gradient(180deg, #0044cc 0%, rgba(2, 132, 199, 0.2) 100%);
}

.process-step__card {
    width: 100%;
    flex: 1;
    padding: 18px 16px;
    border-radius: var(--radius-md);
    background: var(--color-white);
    border: 1px solid rgba(15, 23, 42, 0.07);
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.process-step:hover .process-step__card,
.process-step.is-active .process-step__card {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 68, 204, 0.22);
}

.process-step__card h3 {
    margin-bottom: 6px;
    font-size: 1rem;
    color: var(--color-navy);
}

.process-step__card p {
    color: var(--color-text-muted);
    font-size: 13.5px;
    line-height: 1.58;
}

/* ---------- Final CTA banner (Refined Dark Anchor Card) ---------- */
.section--cta {
    padding-block: clamp(28px, 4vw, 48px) clamp(44px, 5.5vw, 68px);
}

.cta-banner {
    position: relative;
    overflow: hidden;
    display: grid;
    gap: 12px;
    justify-items: center;
    text-align: center;
    padding: clamp(36px, 5vw, 56px) clamp(20px, 4vw, 48px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(circle at 18% 20%, rgba(16, 185, 129, 0.16), transparent 46%),
        radial-gradient(circle at 84% 80%, rgba(14, 165, 233, 0.14), transparent 48%),
        linear-gradient(135deg, #0b1220 0%, #131c31 100%);
    box-shadow: 0 20px 44px rgba(15, 23, 42, 0.16);
}

.cta-banner .eyebrow {
    margin-bottom: 2px;
    color: #34d399;
}

.cta-banner h2 {
    color: var(--color-white);
    font-size: clamp(1.45rem, 2.5vw, 1.95rem);
    max-width: 640px;
}

.cta-banner p {
    color: #cbd5e1;
    font-size: 0.98rem;
    line-height: 1.65;
    max-width: 560px;
}

.cta-banner .button-outline {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.22);
    color: var(--color-white);
}
.cta-banner .button-outline:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--color-white);
}

.cta-banner__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

@media (max-width: 1024px) {
    .services-bento {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .hero__grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero__copy {
        text-align: center;
    }
    .hero__lead {
        margin-inline: auto;
    }
    .hero__actions {
        justify-content: center;
    }
    .hero__arrow {
        display: none;
    }
    .hero__orb {
        display: none;
    }
}

@media (max-width: 900px) {
    .pillars-split { grid-template-columns: 1fr; }
    .about { grid-template-columns: 1fr; }
    .process-timeline {
        grid-template-columns: 1fr 1fr;
        gap: 32px 20px;
    }
    .process-timeline__track {
        display: none;
    }
}

@media (max-width: 560px) {
    .services-bento {
        grid-template-columns: 1fr;
    }
    .hero__visual {
        min-height: 300px;
    }
    .hero__collage {
        height: 290px;
    }
    .mockup-card--left {
        height: 190px;
    }
    .mockup-card--main {
        height: 250px;
    }
    .mockup-card--dark {
        height: 170px;
    }
    .mockup-card--front {
        height: 112px;
    }
    .hero__orb {
        display: none;
    }
    .mockup-sidebar {
        display: none;
    }
    .mockup-card__main-grid {
        grid-template-columns: 1fr;
    }
    .process-timeline {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .about__bento {
        grid-template-rows: repeat(2, 130px);
        gap: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero__arrow,
    .hero__arrow-path,
    .hero__orb,
    .mockup-card--left,
    .mockup-card--main,
    .mockup-card--dark,
    .mockup-card--front {
        animation: none !important;
    }
}
