    /* Hero */

.hero {
    display: flex;
    align-items: center;
    padding: 120px 0 40px;
}
.hero-content { text-align: center; max-width: 1080px; margin: 0 auto; position: relative; }
.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(37,99,235,0.08);
    border: 1px solid rgba(37,99,235,0.2);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--blue);
    margin-bottom: 20px;
}
.hero h1 {
    font-size: clamp(2.6rem, 5.6vw, 4.6rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.035em;
    margin-bottom: 1.4rem;
}
.hero h1 em {
    font-style: normal;
    color: var(--blue);
    -webkit-text-fill-color: var(--blue);
    /* Marker highlight drawn as a background so it wraps correctly per line on mobile */
    background-image: linear-gradient(90deg, rgba(37,99,235,0.22) 0%, rgba(37,99,235,0.12) 100%);
    background-repeat: no-repeat;
    background-position: 0 92%;
    background-size: 0% 22%;
    border-radius: 4px;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    animation: hero-mark 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.4s forwards;
}
@keyframes hero-mark {
    to { background-size: 100% 22%; }
}
@media (prefers-reduced-motion: reduce) {
    .hero h1 em { animation: none; background-size: 100% 22%; }
}
.hero-sub {
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    color: var(--text-body);
    max-width: 620px;
    margin: 0 auto 36px;
    line-height: 1.6;
    font-weight: 400;
}
.hero-actions { display: flex; gap: 12px; justify-content: center; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
.hero-why-row { display: flex; justify-content: center; margin-bottom: 28px; }
.hero-why-inline {
    display: inline-flex; align-items: center;
}
.hero-why-btn {
    display: inline-flex; align-items: center; gap: 6px;
    background: none;
    border: none;
    padding: 6px 0;
    font-family: inherit; font-size: 0.82rem; font-weight: 600; color: var(--blue);
    cursor: pointer; margin: 0;
    transition: color 0.18s ease;
    white-space: nowrap;
}
.hero-why-btn i { font-size: 0.85rem; }
.hero-why-btn:hover {
    color: var(--blue-dark);
}
.hero-why-answer {
    font-size: 0.82rem; font-weight: 500; color: var(--text-body);
    white-space: nowrap; overflow: hidden;
    max-width: 0;
    transition: max-width 0.05s linear, padding-left 0.15s ease, opacity 0.15s ease;
    padding-left: 0; opacity: 0;
}
.hero-why-answer.active {
    max-width: 600px;
    padding-left: 10px; opacity: 1;
}
.hero-social-proof { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.hero-social-proof .avatars { display: flex; }
.hero-social-proof .avatar {
    width: 26px; height: 26px; border-radius: 50%;
    border: 2px solid #FFFFFF;
    background: var(--blue-glow);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.6rem; font-weight: 700; color: var(--blue);
    margin-right: -7px; box-shadow: var(--shadow);
    overflow: hidden;
}
.hero-social-proof .avatar-flag {
    background: transparent;
    padding: 0;
}
.hero-social-proof .avatar-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.hero-social-proof .avatars { margin-right: 6px; }
.hero-social-proof p { font-size: 0.8rem; color: var(--text-muted); font-weight: 500; letter-spacing: 0; display: inline-flex; align-items: center; gap: 8px; }
/* Pulsing live indicator dot */
.hero-social-proof p::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 0 rgba(5,150,105,0.6);
    animation: hero-pulse 2s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes hero-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(5,150,105,0.55); }
    70%  { box-shadow: 0 0 0 10px rgba(5,150,105,0); }
    100% { box-shadow: 0 0 0 0 rgba(5,150,105,0); }
}
@media (prefers-reduced-motion: reduce) {
    .hero-social-proof p::before { animation: none; }
}

/* ── Hero 3-column layout ── */
.hero-layout {
    display: grid;
    /* equal side tracks so the center content is centered in the viewport,
       independent of the two screen columns' differing widths */
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 40px;
}
.hero-layout > .hero-content {
    justify-self: center;
    min-width: 0;
}
.hero-screens-left,
.hero-screens-right {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.hero-screens-left  { justify-self: start; }  /* pin to outer edge */
.hero-screens-right { justify-self: end; }

/* TEMP: hero side screens hidden — delete this block to restore them */
.hero-screens-left,
.hero-screens-right { display: none; }
.hero-layout { display: block; }
/* END TEMP */

/* Card base */
.hs-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 16px 48px rgba(0,0,0,0.10), 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.07);
    overflow: hidden;
    opacity: 0;
    animation: hs-fade 1s ease both;
}
.hs-reports    { width: 248px; animation-delay: 2.6s; }
.hs-taskdetail { width: 208px; animation-delay: 2.75s; }
.hs-activity   { width: 200px; animation-delay: 2.9s; }
/* screenshot cards: image fills the card directly under the chrome bar */
.hs-shot img { display: block; width: 100%; height: auto; }

@keyframes hs-fade {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
    .hs-card { animation: none; opacity: 1; }
}
@media (max-width: 1240px) {
    /* screens hidden — drop the grid so the lone content block centers normally */
    .hero-layout { display: block; }
    .hero-screens-left, .hero-screens-right { display: none; }
}

/* chrome bar */
.hs-bar { display: flex; align-items: center; gap: 8px; background: #1e293b; padding: 7px 11px; }
.hs-dots { display: flex; gap: 4px; flex-shrink: 0; }
.hs-dots span { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.18); }
.hs-bar-label { font-size: 0.63rem; font-weight: 600; color: rgba(255,255,255,0.45); letter-spacing: 0.07em; text-transform: uppercase; }
.hs-body { padding: 11px; }

/* pipeline columns */
.hs-cols { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 5px; }
.hs-col-hd { font-size: 0.58rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: #94a3b8; padding: 0 3px; margin-bottom: 4px; }
.hs-won-hd { color: #059669; }
.hs-deal { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 5px; padding: 5px 6px; margin-bottom: 3px; }
.hs-deal-w { background: #ecfdf5; border-color: #bbf7d0; }
.hs-dn { font-size: 0.63rem; font-weight: 600; color: #1a2332; line-height: 1.2; }
.hs-dv { font-size: 0.58rem; color: #64748b; margin-top: 1px; }
.hs-deal-w .hs-dn { color: #065f46; }
.hs-deal-w .hs-dv { color: #059669; }

/* client record */
.hs-client-row { display: flex; align-items: center; gap: 9px; margin-bottom: 9px; }
.hs-av { width: 30px; height: 30px; border-radius: 50%; background: #ebf3ff; color: #2563eb; display: flex; align-items: center; justify-content: center; font-size: 0.6rem; font-weight: 700; flex-shrink: 0; }
.hs-cname { font-size: 0.78rem; font-weight: 700; color: #1a2332; }
.hs-csub { font-size: 0.62rem; color: #94a3b8; margin-top: 1px; }
.hs-rule { height: 1px; background: #f1f5f9; margin: 7px 0; }
.hs-stat { display: flex; justify-content: space-between; align-items: center; padding: 3px 0; }
.hs-sl { font-size: 0.63rem; color: #94a3b8; }
.hs-sv { font-size: 0.66rem; font-weight: 600; color: #1a2332; }
.hs-badge { font-size: 0.58rem; font-weight: 700; background: #ecfdf5; color: #059669; border-radius: 100px; padding: 2px 7px; }
.hs-note { font-size: 0.6rem; color: #94a3b8; }

/* task list */
.hs-task { display: flex; align-items: flex-start; gap: 7px; padding: 5px 0; border-bottom: 1px solid #f8fafc; }
.hs-task:last-child { border-bottom: none; }
.hs-chk { width: 13px; height: 13px; border-radius: 3px; border: 1.5px solid #e2e8f0; flex-shrink: 0; margin-top: 1px; display: flex; align-items: center; justify-content: center; font-size: 0.5rem; color: #fff; }
.hs-chk-done { background: #2563eb; border-color: #2563eb; }
.hs-tt { font-size: 0.65rem; color: #1a2332; line-height: 1.35; }
.hs-done { color: #cbd5e1; text-decoration: line-through; }

/* CRM Pipeline */
/* ── Pipeline section ── */
.pipeline-section {
    background: #FFFFFF;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

/* Interactive pipeline card — no card background, floats on blue */
.pipeline-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    min-height: 460px;
    position: relative;
}
/* Gear + try-it topbar */
.pipeline-topbar {
    position: absolute; top: 0; left: 0; z-index: 10;
    display: flex; align-items: center; gap: 12px;
}
.pipeline-gear-wrap {
    width: 34px; height: 34px; border-radius: 50%;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.22);
    box-shadow: 0 2px 8px rgba(0,0,0,0.12), 0 8px 20px rgba(0,0,0,0.08);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.pipeline-gear {
    color: rgba(255,255,255,0.85); font-size: 1rem;
    transition: transform 0.55s cubic-bezier(0.34, 1.4, 0.64, 1);
    display: block;
}
.pipeline-try-link {
    position: relative;
    font-size: 1.2rem; font-weight: 600;
    color: #fff;
    cursor: pointer;
    display: inline-flex; align-items: center; gap: 5px;
    transition: opacity 0.18s ease;
}
.pipeline-try-link::after {
    content: '';
    position: absolute;
    bottom: -3px; left: 0; right: 0;
    height: 2px;
    background: var(--orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.18s ease;
}
.pipeline-try-link:hover { opacity: 0.85; }
.pipeline-try-link:hover::after { transform: scaleX(1); }

.pipeline-step-list {
    border-right: 1px solid rgba(255,255,255,0.15);
    padding: 52px 12px 20px 0;
    display: flex; flex-direction: column; gap: 2px;
}
.psi {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 12px 14px; border-radius: 6px; cursor: pointer;
    border: 1.5px solid transparent;
    transition: var(--transition);
}
.psi:hover { background: rgba(255,255,255,0.1); }
.psi.active {
    background: rgba(255,255,255,0.13);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-color: rgba(255,255,255,0.22);
    border-left-color: var(--orange);
    box-shadow: 0 2px 8px rgba(0,0,0,0.12), 0 8px 24px rgba(0,0,0,0.08);
}
.psi-num {
    width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
    background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.55);
    font-size: 0.72rem; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition);
}
.psi.active .psi-num { background: #fff; color: var(--blue); box-shadow: 0 2px 10px rgba(0,0,0,0.15); }
.psi-title { font-size: 0.9rem; font-weight: 600; color: rgba(255,255,255,0.92); margin-bottom: 2px; }
.psi-desc { font-size: 0.75rem; color: rgba(255,255,255,0.5); line-height: 1.45; }
.psi.active .psi-title { color: #fff; }
.psi.active .psi-desc { color: rgba(255,255,255,0.7); }

/* Media panel — no background, GIF fills the space */
.pipeline-media-panel {
    position: relative;
    overflow: hidden;
    background: transparent;
    margin-left: 28px;
    display: flex; align-items: center; justify-content: center;
}
.pmi-slide {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}
.pmi-slide.active { opacity: 1; visibility: visible; }
.pmi-slide img {
    max-width: 100%; max-height: 100%;
    width: auto; height: auto;
    object-fit: contain;
    border-radius: 10px;
    display: block;
}
.gif-placeholder {
    width: 100%; height: 100%; min-height: 280px;
    background: transparent;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
    color: rgba(255,255,255,0.4); font-size: 0.82rem; font-weight: 500;
}
.gif-placeholder::before {
    content: '';
    display: block; width: 44px; height: 44px; border-radius: 50%;
    background: rgba(255,255,255,0.08); border: 1.5px dashed rgba(255,255,255,0.28);
}

/* ── CRM section (blue) ── */
.crm-section-blue {
    background:
    radial-gradient(ellipse at 92% 88%, rgba(255,105,0,0.22) 0%, transparent 42%),
    radial-gradient(ellipse at 8%  80%, rgba(255,105,0,0.10) 0%, transparent 35%),
    radial-gradient(ellipse at 15% 40%, rgba(120,160,255,0.28) 0%, transparent 52%),
    radial-gradient(ellipse at 85% 15%, rgba(180,210,255,0.18) 0%, transparent 45%),
    radial-gradient(ellipse at 70% 85%, rgba(37,99,235,0.45) 0%, transparent 48%),
    linear-gradient(150deg, #1E40AF 0%, #2563EB 55%, #2563EB 100%);
    padding-bottom: 120px;
    position: relative;
    overflow: hidden;
}
/* Dot-grid overlay */
.crm-section-blue::before {
    content: '';
    position: absolute; inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.13) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
    z-index: 0;
}
/* Soft light streak */
.crm-section-blue::after {
    content: '';
    position: absolute;
    top: -80px; left: 50%;
    transform: translateX(-50%) rotate(-18deg);
    width: 60%; height: 340px;
    background: linear-gradient(180deg, rgba(255,255,255,0.07) 0%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}
.crm-section-blue > * { position: relative; z-index: 1; }
.crm-section-blue .container { position: relative; z-index: 1; }
.crm-section-blue .section-label { color: rgba(255,255,255,0.65); }
.crm-section-blue h2 { color: #fff; }
.crm-section-blue p { color: rgba(255,255,255,0.78); }
.crm-section-blue .crm-feature-item {
    background: rgba(255,255,255,0.10);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-color: rgba(255,255,255,0.18);
    box-shadow:
        0 2px 8px rgba(0,0,0,0.12),
        0 8px 24px rgba(0,0,0,0.08),
        0 16px 40px rgba(0,0,0,0.06);
}
.crm-section-blue .crm-feature-item h4 { color: #fff; }
.crm-section-blue .crm-feature-item p { color: rgba(255,255,255,0.72); }
.crm-section-blue .icon-box-blue { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.25); }
.crm-section-blue .icon-box-blue i { color: #fff; }
.crm-section-blue .icon-box-orange { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.25); }
.crm-section-blue .icon-box-orange i { color: #fff; }
.crm-section-blue .icon-box-green { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.25); }
.crm-section-blue .icon-box-green i { color: #fff; }

/* Slack-style arch: next section overlaps from below with rounded top */
.section-arch-top {
    border-radius: 40px 40px 0 0;
    margin-top: -72px;
    position: relative; z-index: 2;
    padding-top: 96px;
}

@media (max-width: 768px) {
    .hero { padding-top: 88px; }
    .pipeline-card { grid-template-columns: 1fr; min-height: auto; }
    .pipeline-step-list { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); padding: 52px 0 16px; flex-direction: column; gap: 4px; }
    .pipeline-media-panel { min-height: 240px; margin-left: 0; }
    .psi-desc { display: none; }
    .psi.active .psi-desc { display: block; }
    .psi { padding: 10px 12px; }
}

/* CRM showcase */
.crm-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.crm-feature-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.crm-feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}
.crm-feature-item:hover {
    border-color: rgba(37,99,235,0.3);
    box-shadow: 0 4px 20px rgba(37,99,235,0.08);
}
.crm-feature-item .icon-box { flex-shrink: 0; }
.crm-feature-item h4 { margin-bottom: 4px; font-size: 0.95rem; }
.crm-feature-item p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }

.crm-mock {
    background: var(--card-bg);
    border: 1px solid rgba(255,255,255,0.75);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow:
        0 2px 4px rgba(0,0,0,0.04),
        0 8px 24px rgba(0,0,0,0.08),
        0 24px 56px rgba(0,0,0,0.08),
        0 48px 96px rgba(0,0,0,0.05);
}
.crm-mock-header {
    background: #F8FAFC;
    border-bottom: 1px solid var(--border);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.crm-mock-dot { width: 10px; height: 10px; border-radius: 50%; }
.crm-mock-title { font-size: 0.78rem; color: var(--text-muted); margin-left: 8px; font-weight: 500; }
.crm-mock-body { padding: 20px; }
.crm-client-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    margin-bottom: 6px;
    border: 1px solid var(--border);
    background: #F8FAFC;
}
.crm-client-avatar {
    width: 34px; height: 34px; border-radius: 50%;
    background: var(--blue-light);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.72rem; font-weight: 700; color: var(--blue);
    flex-shrink: 0;
}
.crm-client-name { font-size: 0.85rem; font-weight: 600; color: var(--text-primary); }
.crm-client-sub { font-size: 0.75rem; color: var(--text-muted); }
.crm-tag {
    margin-left: auto;
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 600;
}
.crm-tag-active { background: rgba(5,150,105,0.1); color: #059669; }
.crm-tag-lead { background: rgba(37,99,235,0.1); color: var(--blue); }
.crm-tag-hot { background: rgba(255,105,0,0.1); color: #FF6900; }

.crm-stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 12px;
}
.crm-stat {
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px 12px;
    text-align: center;
}
.crm-stat-val { font-size: 1.2rem; font-weight: 800; color: var(--blue); }
.crm-stat-lbl { font-size: 0.68rem; color: var(--text-muted); margin-top: 2px; }

/* Pain points */
.pain-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.pain-card {
    background: rgba(239,68,68,0.04);
    border: 1px solid rgba(239,68,68,0.15);
    border-radius: var(--radius);
    padding: 20px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.pain-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; color: #EF4444; }
.pain-card p { font-size: 0.9rem; color: #DC2626; font-style: italic; line-height: 1.5; margin: 0; }
.pain-card p strong { color: #B91C1C; }

/* Reveal section */
.reveal-section {
    background: linear-gradient(135deg, var(--blue) 0%, #1D4ED8 100%);
    border-radius: 20px;
    padding: 56px 64px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow:
        0 2px 4px rgba(15,23,42,0.04),
        0 20px 56px rgba(37,99,235,0.22),
        0 48px 96px rgba(15,23,42,0.08);
}
.reveal-section::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 300px; height: 300px;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
}
.reveal-section::after {
    content: '';
    position: absolute;
    bottom: -80px; left: -40px;
    width: 240px; height: 240px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
}
.reveal-section h2 { color: white; position: relative; z-index: 1; margin-bottom: 16px; }
.reveal-section p { color: rgba(255,255,255,0.8); position: relative; z-index: 1; max-width: 560px; margin: 0 auto 32px; font-size: 1.05rem; }

/* Two-column variant: copy left-aligned, parallax illustration on the right */
.reveal-split {
    display: flex;
    align-items: center;
    gap: 40px;
    text-align: left;
}
.reveal-split .reveal-copy { flex: 1 1 0; min-width: 0; position: relative; z-index: 1; }
.reveal-split .reveal-copy p { max-width: 540px; margin: 0 0 32px; }
.reveal-visual {
    flex: 0 0 44%;
    max-width: 460px;
    align-self: center;
    position: relative;
    z-index: 1;
    aspect-ratio: 1 / 1;
    /* dark glow so the illustration reads like the original (its bg is transparent) */
    background: radial-gradient(circle at 50% 46%, #1b2550 0%, rgba(15,18,45,0.45) 55%, transparent 72%);
    /* purely decorative — never intercept hover/clicks (it overlaps the CTA buttons) */
    pointer-events: none;
}
#image_matter_b2 { position: absolute; inset: 0; }
#image_matter_b2 img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: contain;
    will-change: transform;
}

/* These CTAs use bare .btn (no .btn-primary/.btn-outline), and their colours are set
   inline — so give them their own hover: a lift, a shadow, and a subtle bg shift. */
.reveal-actions .btn { transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease; }
.reveal-actions .btn:hover { transform: translateY(-2px); }
.reveal-actions .btn:first-child:hover { background: #EEF2FF !important; box-shadow: 0 10px 24px rgba(15,23,42,0.25); }
.reveal-actions .btn:last-child:hover  { background: rgba(255,255,255,0.28) !important; box-shadow: 0 8px 20px rgba(15,23,42,0.18); }

/* Feature flow */
.flow-steps {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 0;
}
.flow-step {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: center;
}
.flow-step h3 { margin: 12px 0 8px; }
.flow-step p { font-size: 0.88rem; margin: 0; }
.flow-arrow {
    color: var(--blue);
    font-size: 1.5rem;
    padding: 0 8px;
    opacity: 0.5;
}

/* Platform pillars */
.pillar-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: var(--transition);
}
.pillar-card:hover {
    border-color: rgba(37,99,235,0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(37,99,235,0.08);
}
.pillar-card h3 { margin: 16px 0 10px; }
.pillar-card p { font-size: 0.88rem; margin: 0; }

/* Comparison */
.compare-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.compare-col {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
}
.compare-col.hotkup { border-color: rgba(37,99,235,0.35); background: linear-gradient(160deg, rgba(37,99,235,0.04) 0%, var(--card-bg) 60%); }
.compare-col h3 { margin-bottom: 20px; }

/* Testimonials grid */
.testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Pricing preview */
.pricing-card {
    background: var(--card-bg);
    border: 1px solid rgba(37,99,235,0.35);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    max-width: 480px;
    margin: 0 auto;
}
.price-amount {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.05em;
}
.price-label { color: var(--text-muted); font-size: 0.9rem; margin-top: 6px; margin-bottom: 28px; }

/* CTA banner */
.cta-banner {
    background: linear-gradient(135deg, #2A6CF6 0%, #1D4ED8 52%, #1B3AA0 100%);
    border: none;
    border-radius: 24px;
    padding: 56px 56px;
    text-align: center;
    box-shadow:
        0 10px 30px rgba(29,78,216,0.25),
        0 30px 70px rgba(29,78,216,0.22);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
/* Warm highlight (top) + soft vignette (bottom) over the gradient for depth */
.cta-banner::before {
    content: '';
    position: absolute;
    top: -120px; left: 50%; transform: translateX(-50%);
    width: 680px; height: 420px;
    background: radial-gradient(ellipse, rgba(255,255,255,0.16) 0%, transparent 70%);
    pointer-events: none; z-index: 0;
}
.cta-banner::after {
    content: '';
    position: absolute;
    bottom: -160px; right: -120px;
    width: 480px; height: 360px;
    background: radial-gradient(ellipse, rgba(255,138,61,0.22) 0%, transparent 70%);
    pointer-events: none; z-index: 0;
}
.cta-banner > *:not(.cta-geo) { position: relative; z-index: 1; }
.cta-geo { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }

.cta-badge {
    display: inline-flex; align-items: center;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.28);
    color: #fff;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.72rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.09em;
    margin-bottom: 18px;
    -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.cta-banner h2 { color: #fff; margin-bottom: 14px; }
.cta-banner h2 em { font-style: italic; color: #FFB68A; }
.cta-banner p {
    max-width: 500px; margin: 0 auto 26px;
    font-size: 1rem; line-height: 1.65;
    color: rgba(255,255,255,0.86);
}

/* Steps strip */
.steps-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    position: relative;
}
/* Dashed connector running behind the badges, visible in the gaps between cards */
.steps-strip::before {
    content: '';
    position: absolute;
    top: 54px; left: 12%; right: 12%;
    height: 2px;
    background-image: linear-gradient(to right, rgba(37,99,235,0.35) 0 8px, transparent 8px 16px);
    background-size: 16px 2px;
    z-index: 0;
}
.step-item {
    text-align: center;
    padding: 28px 26px 26px;
    background: var(--card-bg);
    border: 1px solid rgba(15,23,42,0.06);
    border-radius: 16px;
    box-shadow: 0 1px 2px rgba(15,23,42,0.02), 0 4px 12px rgba(15,23,42,0.03);
    transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
    position: relative;
    z-index: 1;
    overflow: hidden;
}
/* Large faint watermark number in the corner */
.step-item::after {
    content: attr(data-num);
    position: absolute;
    top: -18px; right: 6px;
    font-size: 6rem;
    font-weight: 800;
    line-height: 1;
    color: rgba(37,99,235,0.06);
    pointer-events: none;
}
.step-item:hover {
    transform: translateY(-3px);
    border-color: rgba(37,99,235,0.18);
    box-shadow:
        0 2px 4px rgba(15,23,42,0.04),
        0 12px 28px rgba(15,23,42,0.05),
        0 0 0 1px rgba(37,99,235,0.06);
}
.step-num {
    position: relative;
    width: 50px; height: 50px;
    background: linear-gradient(135deg, var(--blue) 0%, #1D4ED8 100%);
    color: white;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.35rem;
    margin: 0 auto 16px;
    box-shadow: 0 4px 14px rgba(37,99,235,0.28);
    transition: transform 0.22s ease;
}
.step-item:hover .step-num { transform: scale(1.05) rotate(-3deg); }

/* ── Testimonials ── */
.testimonials-section { background: transparent; padding: 12px 0 56px; }
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.testimonial-card {
    --accent: #2563EB;
    --accent-soft: rgba(37,99,235,0.08);
    position: relative;
    background: #fff;
    border: 1px solid rgba(15,23,42,0.06);
    border-radius: 16px;
    padding: 28px 24px 22px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: 0 1px 2px rgba(15,23,42,0.02), 0 4px 12px rgba(15,23,42,0.03);
    transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
    overflow: hidden;
}
/* Decorative oversized quote mark in the corner */
.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: -18px; right: 8px;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 8rem;
    font-weight: 700;
    line-height: 1;
    color: var(--accent);
    opacity: 0.08;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
}
/* Subtle accent gradient wash at the top */
.testimonial-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent) 0%, transparent 60%);
    opacity: 0.55;
    transition: opacity 0.22s ease;
}
.testimonial-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-soft);
    box-shadow:
        0 2px 4px rgba(15,23,42,0.04),
        0 12px 28px rgba(15,23,42,0.06),
        0 0 0 1px var(--accent-soft);
}
.testimonial-card:hover::before { opacity: 0.28; transform: translateY(2px); }
.testimonial-card:hover::after { opacity: 1; }
.tc-orange { --accent: #FF6900; --accent-soft: rgba(255,105,0,0.18); }
.tc-blue   { --accent: #2563EB; --accent-soft: rgba(37,99,235,0.18); }
.tc-green  { --accent: #10B981; --accent-soft: rgba(16,185,129,0.18); }
.tc-purple { --accent: #8B5CF6; --accent-soft: rgba(139,92,246,0.20); }
.testimonial-stars { font-size: 0.95rem; letter-spacing: 2px; color: #F59E0B; line-height: 1; }
.testimonial-quote {
    font-size: 0.95rem;
    line-height: 1.62;
    color: #0F172A;
    flex: 1;
    font-style: normal;
    font-weight: 500;
    letter-spacing: -0.01em;
    position: relative;
    z-index: 1;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; position: relative; z-index: 1; text-decoration: none; color: inherit; width: fit-content; }
a.testimonial-author:hover .testimonial-name { color: #0A66C2; }
a.testimonial-author:hover .testimonial-avatar { transform: scale(1.05); }
.testimonial-id { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.testimonial-avatar {
    width: 46px; height: 46px; border-radius: 50%;
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.72rem; font-weight: 800; flex-shrink: 0; letter-spacing: 0.03em;
    box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.5);
    transition: transform 0.22s ease;
}
.testimonial-card:hover .testimonial-avatar { transform: scale(1.05); }
.tav-orange { background: linear-gradient(135deg, #FFE4D1 0%, #FFF3EB 100%); color: #B84600; }
.tav-blue   { background: linear-gradient(135deg, #DBE9FF 0%, #EBF3FF 100%); color: #1D4ED8; }
.tav-green  { background: linear-gradient(135deg, #C9F5E3 0%, #ECFDF5 100%); color: #047857; }
.tav-purple { background: linear-gradient(135deg, #E2DAFF 0%, #F5F3FF 100%); color: #6D28D9; }
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.testimonial-name { font-size: 0.92rem; font-weight: 700; color: #0F172A; letter-spacing: -0.005em; line-height: 1.25; }
.testimonial-role { font-size: 0.76rem; font-weight: 600; color: var(--text-muted); line-height: 1.3; }
.testimonial-company { font-size: 0.76rem; color: var(--text-muted); line-height: 1.3; }

/* ── Divider ── */
.section-divider-wrap { padding: 0 24px; margin: 8px 0 0; }
.section-divider-line {
    height: 1px;
    max-width: 960px;
    margin: 0 auto;
    background: linear-gradient(to right, transparent, var(--border) 20%, var(--border) 80%, transparent);
}

/* ── Pipeline header (white text on blue bg) ── */
.pipeline-header { text-align: center; margin-bottom: 32px; }
.pipeline-header-label {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.12em; color: var(--orange); margin-bottom: 10px;
}
.pipeline-label-dot {
    display: inline-block; width: 18px; height: 1px;
    background: var(--orange); opacity: 0.6;
}
.pipeline-header-title {
    font-size: clamp(2.4rem, 4.5vw, 3.5rem);
    font-weight: 800; letter-spacing: -0.03em;
    color: #fff;
    -webkit-text-fill-color: #fff;
    margin-bottom: 8px;
}
.pipeline-header-sub {
    font-size: 1rem; color: rgba(255,255,255,0.72);
    max-width: 420px; margin: 0 auto; line-height: 1.65;
}

@media (max-width: 768px) {
    .crm-showcase { grid-template-columns: 1fr; gap: 32px; }
    .pain-grid { grid-template-columns: 1fr; }
    .flow-steps { grid-template-columns: 1fr; }
    .flow-arrow { transform: rotate(90deg); padding: 8px 0; }
    .testi-grid { grid-template-columns: 1fr; }
    .compare-block { grid-template-columns: 1fr; }
    .cta-banner { padding: 40px 24px; }
    .reveal-section { padding: 48px 24px; }
    .reveal-split { flex-direction: column; text-align: center; gap: 12px; }
    .reveal-split .reveal-copy p { margin: 0 auto 32px; }
    .reveal-split .reveal-actions { justify-content: center !important; }
    /* Mobile: hide the interactive parallax illustration entirely */
    .reveal-visual { display: none; }
    /* Mobile: stack the "Why a demo?" answer under the button and let it wrap (no horizontal overflow) */
    .hero-why-row { display: block; text-align: center; }
    .hero-why-inline { display: block; }
    .hero-why-answer {
        display: block; white-space: normal; overflow: visible;
        max-width: 100%; padding-left: 0; margin-top: 2px;
    }
    .hero-why-answer.active { max-width: 100%; padding-left: 0; }
    .steps-strip { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
    .testimonials-section { overflow: hidden; }
    .testimonials-section .container { padding: 0; }
    .testimonials-grid {
        display: flex;
        grid-template-columns: unset;
        overflow-x: scroll;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 0;
        padding: 4px 0 16px;
        scrollbar-width: none;
    }
    .testimonials-grid::-webkit-scrollbar { display: none; }
    .testimonial-card {
        flex: 0 0 100%;
        scroll-snap-align: start;
        padding: 20px 28px 16px;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
    .testimonials-dots {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
        padding-bottom: 8px;
    }
    .t-dot {
        width: 7px; height: 7px; border-radius: 50%;
        background: rgba(0,0,0,0.18);
        transition: background 0.22s ease, width 0.22s ease, height 0.22s ease;
        cursor: pointer;
        flex-shrink: 0;
    }
    .t-dot.active {
        width: 9px; height: 9px;
        background: var(--text-primary);
    }
}
@media (min-width: 521px) {
    .testimonials-dots { display: none; }
}

/* ── Feature sticky zone ── */
.feat-sticky-zone {
    display: block;
    position: relative;
    z-index: 0;
    isolation: isolate;
}

/* ── Feature sub-nav ── */
.feature-subnav {
    position: sticky;
    top: 84px;
    z-index: 90;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 32px;
    pointer-events: none;
}
.fsn-pill {
    display: inline-flex;
    align-items: center;
    background: rgba(255,255,255,0.78);
    border: 1px solid rgba(15,23,42,0.05);
    border-radius: 100px;
    padding: 5px;
    gap: 2px;
    box-shadow:
        0 1px 2px rgba(15,23,42,0.03),
        0 6px 20px rgba(15,23,42,0.05),
        0 20px 48px rgba(15,23,42,0.04);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    pointer-events: auto;
}
.fsn-tab {
    position: relative;
    padding: 9px 22px;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: -0.005em;
    color: var(--text-muted);
    background: transparent;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    transition: color 0.18s ease, background 0.18s ease;
    white-space: nowrap;
}
.fsn-tab:hover { color: var(--text-primary); background: rgba(15,23,42,0.04); }
.fsn-tab.active {
    background: rgba(255,105,0,0.1);
    color: var(--orange);
}

/* ── Feature sections ── */
.feat-section { padding: 80px 0; background: var(--card-bg); overflow-x: clip; }
.feat-section-alt { padding: 80px 0; background: var(--bg); overflow-x: clip; }
/* Mockup bleeds past the container to the viewport edge; the lead column is a fixed
   width so the info panels never move as the mockup grows. */
.feat-layout {
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    grid-template-areas: "lead media";
    column-gap: 64px;
    align-items: stretch;
    margin-right: calc(50% - 50vw);   /* media column bleeds to the right edge */
}
.feat-layout .feat-lead {
    grid-area: lead;
    display: flex; flex-direction: column; justify-content: center;
}
.feat-layout .feat-mockup,
.feat-layout .feat-chip-col   { grid-area: media; align-self: stretch; }

.feat-layout-rev {
    grid-template-columns: minmax(0, 1fr) 360px;
    grid-template-areas: "media lead";
    margin-right: 0;
    margin-left: calc(50% - 50vw);    /* mirror: media bleeds to the left edge */
}
.feat-layout-rev .feat-lead {
    grid-area: lead;
    display: flex; flex-direction: column; justify-content: center;
}
.feat-layout-rev .feat-mockup,
.feat-layout-rev .feat-chip-col  { grid-area: media; align-self: stretch; }

.feat-cta {
    display: flex; flex-direction: column; gap: 10px;
    padding-top: 24px;
}
.feat-lead .section-label { color: var(--orange); margin-bottom: 12px; }
.feat-lead h2 { margin-bottom: 16px; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.15; }
.feat-lead p { font-size: 0.95rem; color: var(--text-body); line-height: 1.7; margin-bottom: 28px; }
.feat-lead-link {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 0.9rem; font-weight: 600; color: var(--blue);
    text-decoration: none;
    transition: gap 0.18s;
}
.feat-lead-link:hover { gap: 10px; }
.feat-chip-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.feat-chip {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 16px;
    background: rgba(255,255,255,0.72);
    border: 1px solid rgba(255,255,255,0.88);
    border-radius: var(--radius);
    box-shadow:
        0 1px 2px rgba(0,0,0,0.04),
        0 4px 12px rgba(0,0,0,0.05),
        0 8px 24px rgba(0,0,0,0.03);
    transition: border-color 0.18s, box-shadow 0.18s;
}
.feat-section-alt .feat-chip { background: rgba(248,250,252,0.85); }
.feat-chip:hover {
    border-color: rgba(37,99,235,0.2);
    box-shadow:
        0 2px 4px rgba(0,0,0,0.05),
        0 6px 20px rgba(37,99,235,0.08),
        0 16px 40px rgba(37,99,235,0.05);
}
.feat-chip-icon {
    width: 36px; height: 36px;
    border-radius: 8px;
    background: rgba(37,99,235,0.08);
    color: var(--blue);
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}
.feat-chip-name {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 3px;
}
.feat-chip-desc {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.4;
}
@media (max-width: 900px) {
    .feat-layout,
    .feat-layout-rev {
        display: flex;
        flex-direction: column;
        gap: 0;
        align-items: stretch;
        margin-left: 0;
        margin-right: 0;
    }
    /* Unwrap the lead column so its CTA can be reordered below the mockup.
       The lead's children keep their own margins, so text spacing is preserved. */
    .feat-layout .feat-lead,
    .feat-layout-rev .feat-lead { display: contents; }

    .feat-mockup,
    .feat-chip-col { order: 1; margin-top: 32px; }
    .feat-mockup { min-height: 320px; }

    /* CTA drops underneath the display picture */
    .feat-cta { order: 2; margin-top: 24px; padding-top: 0; }
}
@media (max-width: 560px) {
    .feat-chip-grid { grid-template-columns: 1fr; }
    .feat-step-desc { display: none; }
    .feat-step.active .feat-step-desc { display: block; }
    .feature-subnav { display: none; }
    .perspective-section { padding-top: 24px !important; }
    .feat-section, .feat-section-alt { padding: 40px 0; }
}

.hero-mobile-br { display: none; }
@media (max-width: 600px) {
    .hero-mobile-br { display: block; }
}

/* ── Numbered steps (Pipeline / Work / Insights) ── */
.feat-steps {
    display: flex; flex-direction: column;
    gap: 4px; margin: 20px 0 24px;
}
.feat-step {
    display: flex; gap: 14px; align-items: flex-start;
    cursor: pointer;
    padding: 10px 12px;
    margin: 0 -12px;
    border-radius: var(--radius);
    transition: background 0.18s;
}
.feat-step:hover { background: rgba(37,99,235,0.04); }
.feat-step.active { background: rgba(37,99,235,0.07); }
.feat-step-num {
    width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0; margin-top: 1px;
    background: var(--blue-glow);
    border: 1.5px solid rgba(37,99,235,0.2);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.68rem; font-weight: 800; color: var(--blue);
    transition: background 0.18s, border-color 0.18s, color 0.18s;
}
.feat-step.active .feat-step-num { background: var(--blue); border-color: var(--blue); color: #fff; }
.feat-step-title { font-size: 0.88rem; font-weight: 700; color: var(--text-primary); margin-bottom: 3px; transition: color 0.18s; }
.feat-step.active .feat-step-title { color: var(--blue); }
.feat-step-desc  { font-size: 0.8rem; color: var(--text-body); line-height: 1.52; }

/* ── Clients accordion steps ── */
/* min-height covers the tallest description so the steps block — and the CTA now
   sitting under it inside .feat-lead — never shift as the active step changes */
#sec-clients .feat-steps { gap: 0; margin: 24px 0 0; min-height: 316px; }
#sec-clients .feat-step {
    gap: 18px; padding: 18px 12px 18px 0;
    margin: 0; border-radius: 0; background: none !important;
    border-bottom: 1px solid rgba(15,23,42,0.06);
    align-items: stretch;
}
#sec-clients .feat-step:first-child { border-top: 1px solid rgba(15,23,42,0.06); }
#sec-clients .feat-step-num { display: none; }
#sec-clients .feat-step-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 0; transition: color 0.18s; }
#sec-clients .feat-step.active .feat-step-title { color: var(--blue); margin-bottom: 6px; }
#sec-clients .feat-step-desc { display: none; font-size: 0.85rem; line-height: 1.6; }
#sec-clients .feat-step.active .feat-step-desc { display: block; margin-top: 6px; }
#sec-clients .feat-step-bar {
    width: 3px; flex-shrink: 0; border-radius: 3px;
    background: rgba(37,99,235,0.12); overflow: hidden; align-self: stretch;
}
#sec-clients .feat-step-bar-fill {
    width: 100%; height: 0%; background: var(--blue); border-radius: 3px;
}
#sec-clients .feat-step.active .feat-step-bar-fill {
    animation: clientsBarFill 7s linear forwards;
}
@keyframes clientsBarFill { from { height: 0% } to { height: 100% } }

/* ── Work & Insights accordion steps (bar on left) ── */
#sec-work .feat-steps { gap: 0; margin: 24px 0 0; min-height: 272px; }
#sec-insights .feat-steps { gap: 0; margin: 24px 0 0; min-height: 272px; }
#sec-work .feat-step,
#sec-insights .feat-step {
    gap: 18px; padding: 18px 12px 18px 0;
    margin: 0; border-radius: 0; background: none !important;
    border-bottom: 1px solid rgba(15,23,42,0.06);
    align-items: stretch;
}
#sec-work .feat-step:first-child,
#sec-insights .feat-step:first-child { border-top: 1px solid rgba(15,23,42,0.06); }
#sec-work .feat-step-num,
#sec-insights .feat-step-num { display: none; }
#sec-work .feat-step-title,
#sec-insights .feat-step-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 0; transition: color 0.18s; }
#sec-work .feat-step.active .feat-step-title,
#sec-insights .feat-step.active .feat-step-title { color: var(--blue); margin-bottom: 6px; }
#sec-work .feat-step-desc,
#sec-insights .feat-step-desc { display: none; font-size: 0.85rem; line-height: 1.6; color: var(--text-body); }
#sec-work .feat-step.active .feat-step-desc,
#sec-insights .feat-step.active .feat-step-desc { display: block; margin-top: 6px; }
#sec-work .feat-step-bar,
#sec-insights .feat-step-bar {
    width: 3px; flex-shrink: 0; border-radius: 3px;
    background: rgba(37,99,235,0.12); overflow: hidden; align-self: stretch;
}
#sec-work .feat-step-bar-fill,
#sec-insights .feat-step-bar-fill {
    width: 100%; height: 0%; background: var(--blue); border-radius: 3px;
}
#sec-work .feat-step.active .feat-step-bar-fill,
#sec-insights .feat-step.active .feat-step-bar-fill {
    animation: workInsightsBarFill 7s linear forwards;
}
@keyframes workInsightsBarFill { from { height: 0% } to { height: 100% } }

/* ── Pipeline accordion steps (bar on right) ── */
/* min-height covers the tallest description state (3-line "Auto-send", ~331px)
   so the steps block never changes height — keeps the CTA below it from moving */
#sec-pipeline .feat-steps { gap: 0; margin: 0; min-height: 336px; }
#sec-pipeline .feat-step {
    gap: 18px; padding: 18px 12px 18px 0;
    margin: 0; border-radius: 0; background: none !important;
    border-bottom: 1px solid rgba(15,23,42,0.06);
    align-items: stretch;
}
#sec-pipeline .feat-step:first-child { border-top: 1px solid rgba(15,23,42,0.06); }
#sec-pipeline .feat-step-num { display: none; }
#sec-pipeline .feat-step-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 0; transition: color 0.18s; }
#sec-pipeline .feat-step.active .feat-step-title { color: var(--blue); margin-bottom: 6px; }
#sec-pipeline .feat-step-desc { display: none; font-size: 0.85rem; line-height: 1.6; color: var(--text-body); }
#sec-pipeline .feat-step.active .feat-step-desc { display: block; margin-top: 6px; }
#sec-pipeline .feat-step-bar {
    width: 3px; flex-shrink: 0; border-radius: 3px;
    background: rgba(37,99,235,0.12); overflow: hidden; align-self: stretch;
}
#sec-pipeline .feat-step-bar-fill {
    width: 100%; height: 0%; background: var(--blue); border-radius: 3px;
}
#sec-pipeline .feat-step.active .feat-step-bar-fill {
    animation: pipelineBarFill 7s linear forwards;
}
@keyframes pipelineBarFill { from { height: 0% } to { height: 100% } }

/* clients: enlarge the mockup — give the media column more of the grid (left edge stays aligned) */
/* clients: contained two columns (no bleed — the panels are square-ish, not wide) */
#sec-clients .feat-layout { grid-template-columns: 1fr minmax(0, 600px); column-gap: 56px; margin-right: 0; }
@media (max-width: 900px) { #sec-clients .feat-layout { grid-template-columns: 1fr; } }

/* clients mockup: a white card sized to the LARGEST panel (max width × max height).
   Each panel sits centred via object-fit: contain, so shorter ones get flat white space. */
#sec-clients .feat-mockup {
    position: relative;
    align-self: center;
    width: 100%;
    max-width: 600px;
    min-height: 0;
    aspect-ratio: 776 / 777;
    background: #fff;
    border: 1.5px solid rgba(15,23,42,0.14);
}
#sec-clients .feat-slide {
    display: flex; position: absolute; inset: 50px 22px 22px;
    align-items: flex-start; justify-content: center;
    opacity: 0; transition: opacity 0.45s ease;
    pointer-events: none;
}
#sec-clients .feat-slide.active { opacity: 1; pointer-events: auto; }
/* top-align every panel so they all start at the same y; shorter ones get white below */
#sec-clients .feat-slide img { object-position: center top; }

/* work + insights mockups: full-app screenshot, no chrome (same treatment as clients) */
#sec-work .feat-mockup,
#sec-insights .feat-mockup {
    position: relative;
    align-self: center;
    min-height: 0;
    aspect-ratio: 2000 / 1369;
    background: #fff;
}
#sec-work .feat-slide,
#sec-insights .feat-slide {
    display: flex; position: absolute; inset: 12px;
    align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.45s ease;
    pointer-events: none;
}
#sec-work .feat-slide.active,
#sec-insights .feat-slide.active { opacity: 1; pointer-events: auto; }
#sec-work .feat-slide img,
#sec-insights .feat-slide img {
    border-radius: 8px;
    border: 1px solid rgba(15,23,42,0.10);
    box-shadow: 0 1px 3px rgba(15,23,42,0.06);
}

/* tasks: contained card like clients — these task-detail panels are square/portrait, not wide.
   Card sized to the largest panel (max width 2812 × max height 3184 = aspect 0.883). */
#sec-work .feat-layout { grid-template-columns: 1fr minmax(0, 560px); column-gap: 56px; margin-right: 0; }
@media (max-width: 900px) { #sec-work .feat-layout { grid-template-columns: 1fr; } }
#sec-work .feat-steps { min-height: 250px; }
#sec-work .feat-mockup {
    max-width: 560px;
    aspect-ratio: 2812 / 3184;
    border: 1.5px solid rgba(15,23,42,0.14);
}
#sec-work .feat-slide {
    inset: 50px 22px 22px;
    align-items: flex-start;
}
#sec-work .feat-slide img {
    object-position: center top;
    border: none; box-shadow: none; border-radius: 0;
}

/* Mobile: zoom the Clients & Tasks screenshots by trimming the inner padding
   and chrome bar, so the picture fills more of the card. Card size is unchanged. */
@media (max-width: 900px) {
    #sec-clients .mockup-chrome,
    #sec-work .mockup-chrome { height: 30px; }
    #sec-clients .feat-slide,
    #sec-work .feat-slide { inset: 36px 7px 7px; }

    /* In the mobile flex column, align-self:center + absolutely-positioned slides
       collapse these mockups to ~0 width (Clients survives only via width:100%).
       Force full width so they size off their aspect-ratio like Clients does. */
    #sec-work .feat-mockup,
    #sec-insights .feat-mockup,
    #sec-pipeline .wf-mockup {
        width: 100%;
        align-self: stretch;
    }
}

/* ── Mockup panel (right/left column) ── */
.feat-mockup {
    border: 1px solid rgba(15,23,42,0.06);
    border-radius: 16px;
    overflow: hidden;
    min-height: 640px;
    display: flex;
    flex-direction: column;
    background: var(--bg);
    box-shadow:
        0 2px 4px rgba(15,23,42,0.04),
        0 12px 32px rgba(15,23,42,0.06),
        0 32px 64px rgba(15,23,42,0.05);
    transition: border-color 0.22s ease, box-shadow 0.22s ease;
}
.feat-mockup:hover {
    border-color: rgba(37,99,235,0.18);
    box-shadow:
        0 2px 4px rgba(15,23,42,0.04),
        0 16px 40px rgba(37,99,235,0.06),
        0 36px 72px rgba(15,23,42,0.05);
}
/* ── Mockup chrome bar ── */
.mockup-chrome {
    display: flex; align-items: center; gap: 12px;
    background: #1e293b;
    padding: 0 14px;
    height: 38px; flex-shrink: 0;
    border-radius: 16px 16px 0 0;
}
.mockup-dots { display: flex; gap: 6px; flex-shrink: 0; }
.mockup-dots span { width: 11px; height: 11px; border-radius: 50%; }
.mockup-dots span:nth-child(1) { background: #ff5f57; }
.mockup-dots span:nth-child(2) { background: #febc2e; }
.mockup-dots span:nth-child(3) { background: #28c840; }

/* URL bar (Clients) */
.mockup-nav { display: flex; gap: 8px; color: rgba(255,255,255,0.35); font-size: 0.7rem; }
.mockup-url {
    flex: 1; background: rgba(255,255,255,0.08); border-radius: 6px;
    padding: 3px 10px; font-size: 0.7rem; color: rgba(255,255,255,0.5);
    display: flex; align-items: center; gap: 6px; max-width: 280px;
}
.mockup-url i { font-size: 0.6rem; color: #28c840; }

/* Search bar (Pipeline) */
.mockup-search {
    flex: 1; max-width: 240px; margin: 0 auto;
    background: rgba(255,255,255,0.08); border-radius: 20px;
    padding: 3px 12px; font-size: 0.7rem; color: rgba(255,255,255,0.4);
    display: flex; align-items: center; gap: 7px;
}
.mockup-search i { font-size: 0.65rem; }

/* App tabs (Work) */
.mockup-tabs { display: flex; gap: 2px; margin-left: 4px; }
.mockup-tab {
    padding: 4px 12px; border-radius: 6px 6px 0 0;
    font-size: 0.68rem; font-weight: 500; color: rgba(255,255,255,0.4);
    cursor: default;
}
.mockup-tab.active { background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.85); }

/* Per-section chrome colours */
#sec-clients  .mockup-chrome { background: var(--blue); } /* matches "Deliver the Work" */
#sec-pipeline .mockup-chrome { background: #0e1f3d; } /* deep navy   */
#sec-work     .mockup-chrome { background: var(--blue); } /* matches "Deliver the Work" */
#sec-insights .mockup-chrome { background: #1f0f38; } /* deep purple */

/* Breadcrumb (Insights) */
.mockup-breadcrumb {
    display: flex; align-items: center; gap: 5px;
    font-size: 0.7rem; color: rgba(255,255,255,0.35);
}
.mockup-breadcrumb i { font-size: 0.55rem; }
.mockup-breadcrumb-active { color: rgba(255,255,255,0.75); font-weight: 600; }

.feat-section-alt .feat-mockup { background: var(--card-bg); }
.feat-slide { display: none; }
.feat-slide.active {
    display: flex; flex: 1;
    align-items: center; justify-content: center;
}
.feat-mockup img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feat-mockup-placeholder {
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 12px; padding: 48px 32px;
    color: var(--text-muted); font-size: 0.8rem; font-weight: 500;
    text-align: center; line-height: 1.55;
    width: 100%;
}
.feat-mockup-placeholder i { font-size: 2.2rem; opacity: 0.35; }
.feat-mockup-placeholder span { opacity: 0.6; }

/* ── Workflows section — same layout as Insights (gif left, lead right) ── */
/* fixed aspect ratio = the screenshots' aspect, so every slide fills identically
   (no crop on the matching demos, no size jump). Chrome removed; image fills panel. */
#sec-pipeline .wf-mockup {
    align-self: center;
    position: relative;
    min-height: 0;
    aspect-ratio: 2000 / 1369;
    background: #0e1f3d;
}
#sec-pipeline .wf-mockup .feat-slide {
    position: absolute; inset: 0;
    opacity: 0; transition: opacity 0.45s ease; pointer-events: none;
}
#sec-pipeline .wf-mockup .feat-slide.active { opacity: 1; pointer-events: auto; }
#sec-pipeline .wf-img-wrap { width: 100%; height: 100%; line-height: 0; }
#sec-pipeline .wf-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* keep the CTA spaced clearly below the info panels */
#sec-clients .feat-cta,
#sec-work .feat-cta,
#sec-insights .feat-cta,
#sec-pipeline .feat-cta { padding-top: 28px; }

@media (max-width: 768px) {
    #sec-pipeline .feat-steps { min-height: 0; }
}


/* ── Single-column chips for Clients tab ── */
.feat-chip-col { display: flex; flex-direction: column; gap: 12px; }