/**
 * Digenio AI - Custom Styles
 * Primary: #7c4baf
 */

:root {
    --fs-primary: #7c4baf;
    --fs-primary-light: #4a2776;
    --fs-dark: #212529;
    --fs-light: #f5f6f9;
}

/* ── Mobile horizontal-scroll guard ───────────────────────────
   Decorative full-bleed glows (e.g. .ff-teams-section::before at
   1100px) and oversized gutters must never widen the page.
   `clip` (not `hidden`) so Bootstrap sticky-top nav keeps working. */
html, body {
    overflow-x: clip;
}

body {
    font-family: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--fs-dark);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--fs-dark);
}

.btn-primary {
    background-color: var(--fs-primary);
    border-color: var(--fs-primary);
}

.btn-primary:hover {
    background-color: var(--fs-primary-light);
    border-color: var(--fs-primary-light);
}

.min-vh-75 {
    min-height: 75vh;
}

.py-6 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.py-7 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.navbar {
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.card {
    border-radius: 0.75rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15) !important;
}

@media (max-width: 991.98px) {
    .display-4 { font-size: 2rem; }
    .display-5 { font-size: 1.75rem; }
}

/* ═══════════════════════════════════════════════════════════════
   PREMIUM DARK FOOTER — Digenio AI
   Refined for HubSpot-grade spacing, hierarchy & polish
   ═══════════════════════════════════════════════════════════════ */

/* ── CSS custom props scoped to footer ─────────────────────── */
.fs-footer {
    --ff-bg:           #111214;
    --ff-heading:      #F8F8F8;
    --ff-link:         #BDBDBD;
    --ff-link-hover:   #FFFFFF;
    --ff-accent:       #4a2776;          /* brand teal — alternate hover accent */
    --ff-legal:        #9A9A9A;
    --ff-divider:      rgba(255,255,255,0.06);
    --ff-icon-bg:      rgba(255,255,255,0.07);
    --ff-icon-border:  rgba(255,255,255,0.09);
    --ff-icon-hover-bg:rgba(255,255,255,0.14);
    --ff-transition:   0.22s ease;
}

/* ── Shell ─────────────────────────────────────────────────── */
.fs-footer {
    background-color: var(--ff-bg);
    color: var(--ff-link);
    font-size: 0.9375rem;           /* 15px */
    line-height: 1.65;
}

/* ── Top rule between page and footer ─────────────────────── */
.fs-footer-top-rule {
    border: none;
    border-top: 1px solid var(--ff-divider);
    margin: 0;
}

/* ── Main grid area ────────────────────────────────────────── */
.fs-footer-body {
    padding: 5rem 0 4rem;           /* 80px top / 64px bottom */
}

/* g-5 gutters give .row a -24px horizontal margin, but .container
   only has 12px padding — compensate so the row never bleeds past
   the viewport edge (lateral scroll on mobile). */
.fs-footer-body .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* ── Vertical hairline between columns (desktop only) ──────── */
/* Applied via box-shadow on the column so it sits inside the container */
@media (min-width: 992px) {
    .fs-footer-col + .fs-footer-col {
        border-left: 1px solid var(--ff-divider);
        padding-left: calc(var(--bs-gutter-x, 1.5rem) * 1.5);
    }
}

/* ── Column headings ───────────────────────────────────────── */
.fs-footer-col-title {
    display: block;
    font-size: 1.0625rem;           /* 17px — readable title, not micro-caps */
    font-weight: 700;
    letter-spacing: 0.01em;
    text-transform: none;
    color: var(--ff-heading);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

/* ── Link list ─────────────────────────────────────────────── */
.fs-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fs-footer-links li {
    margin-bottom: 0.7rem;
}

.fs-footer-links a {
    color: var(--ff-link);
    text-decoration: none;
    font-size: 0.9375rem;           /* 15px */
    font-weight: 400;
    line-height: 1.6;
    transition: color var(--ff-transition);
    display: inline-block;          /* prevents underline gap glitch */
}

.fs-footer-links a:hover,
.fs-footer-links a:focus-visible {
    color: var(--ff-link-hover);
    outline: none;
}

/* ── Divider ───────────────────────────────────────────────── */
.fs-footer-divider {
    border: none;
    border-top: 1px solid var(--ff-divider);
    margin: 0;
}

/* ── Social row ────────────────────────────────────────────── */
.fs-footer-social {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1.375rem;                  /* 22px — open, generous spacing */
    padding: 2.25rem 0;             /* 36px — breathing room above/below */
}

.fs-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 9px;
    background-color: var(--ff-icon-bg);
    color: var(--ff-legal);
    text-decoration: none;
    border: 1px solid var(--ff-icon-border);
    transition:
        background-color var(--ff-transition),
        color var(--ff-transition),
        border-color var(--ff-transition),
        transform 0.18s ease;
    flex-shrink: 0;
}

.fs-social-btn:hover,
.fs-social-btn:focus-visible {
    background-color: var(--ff-icon-hover-bg);
    color: var(--ff-link-hover);
    border-color: rgba(255,255,255,0.18);
    transform: translateY(-2px);
    outline: none;
}

.fs-social-btn svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
    flex-shrink: 0;
    transition: fill var(--ff-transition);
}

/* ── Bottom bar ────────────────────────────────────────────── */
.fs-footer-bottom {
    padding: 1.75rem 0 2.25rem;     /* 28px / 36px */
}

.fs-footer-logo-wrap {
    display: flex;
    align-items: center;
    gap: 1.125rem;
    flex-wrap: wrap;
}

.fs-footer-logo {
    height: 28px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.88;
    transition: opacity var(--ff-transition);
}

.fs-footer-logo:hover {
    opacity: 1;
}

.fs-footer-copy {
    color: var(--ff-legal);
    font-size: 0.8125rem;           /* 13px */
    line-height: 1.5;
    margin: 0;
}

.fs-footer-legal {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.2rem;
}

.fs-footer-legal a {
    color: var(--ff-legal);
    font-size: 0.8125rem;           /* 13px */
    font-weight: 400;
    text-decoration: none;
    padding: 0.1rem 0.5rem;
    transition: color var(--ff-transition);
    white-space: nowrap;
}

.fs-footer-legal a:hover,
.fs-footer-legal a:focus-visible {
    color: var(--ff-link-hover);
    outline: none;
}

.fs-footer-legal-sep {
    color: var(--ff-divider);
    font-size: 0.8125rem;
    user-select: none;
    opacity: 0.7;
}

/* ── Mobile accordion ──────────────────────────────────────── */
@media (max-width: 767.98px) {

    .fs-footer-body {
        padding: 2.5rem 0 1.75rem;
    }

    /* Hide static column headings; accordion button takes over */
    .fs-footer-col-title {
        display: none;
    }

    /* Horizontal rules between collapsed columns */
    .fs-footer-col {
        border-bottom: 1px solid var(--ff-divider);
    }

    /* Remove any desktop vertical hairline on mobile */
    .fs-footer-col + .fs-footer-col {
        border-left: none;
        padding-left: 0;
    }

    .fs-footer-accordion-btn {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        background: transparent;
        border: none;
        color: var(--ff-heading);
        font-size: 0.9375rem;
        font-weight: 700;
        letter-spacing: 0.01em;
        text-transform: none;
        padding: 1.1rem 0;
        cursor: pointer;
        outline: none;
        -webkit-tap-highlight-color: transparent;
    }

    .fs-footer-accordion-btn .fs-acc-icon {
        transition: transform 0.25s ease;
        font-size: 0.75rem;
        color: var(--ff-legal);
        flex-shrink: 0;
    }

    .fs-footer-accordion-btn.is-open .fs-acc-icon {
        transform: rotate(180deg);
    }

    .fs-footer-links-wrap {
        overflow: hidden;
        max-height: 0;
        transition: max-height 0.32s ease, padding 0.32s ease;
        padding-bottom: 0;
    }

    .fs-footer-links-wrap.is-open {
        max-height: 600px;
        padding-bottom: 1.125rem;
    }

    .fs-footer-social {
        justify-content: flex-start;
        gap: 1.125rem;
        padding: 1.75rem 0;
    }

    .fs-footer-bottom .d-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.875rem;
    }

    .fs-footer-legal {
        justify-content: flex-start;
    }

}

/* ── Desktop: ensure accordion chrome never appears ─────────── */
@media (min-width: 768px) {
    .fs-footer-accordion-btn {
        display: none;
    }

    .fs-footer-links-wrap {
        max-height: none !important;
        overflow: visible !important;
        padding-bottom: 0 !important;
    }
}


/* ═══════════════════════════════════════════════════════════════════════════
   AI AGENTS TABS SECTION — ff-agents-*
   Premium dark tabbed component following Zapier "toolkit" pattern.
   Scoped with ff-agents-* prefix to avoid conflicts with existing fs-* rules.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── CSS custom properties ──────────────────────────────────────────────── */
.ff-agents-section {
    --ffa-bg:            #0d1117;
    --ffa-bg-card:       rgba(255,255,255,0.04);
    --ffa-bg-card-hover: rgba(255,255,255,0.07);
    --ffa-border:        rgba(255,255,255,0.08);
    --ffa-border-active: #2d9caa;
    --ffa-text:          #e2e8f0;
    --ffa-text-muted:    rgba(226,232,240,0.55);
    --ffa-accent:        #7c4baf;
    --ffa-accent-bright: #2d9caa;
    --ffa-glow:          rgba(45,156,170,0.25);
    --ffa-radius:        16px;
    --ffa-radius-sm:     10px;
    --ffa-transition:    0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ── Section shell ───────────────────────────────────────────────────────── */
.ff-agents-section {
    background-color: var(--ffa-bg);
    padding: 6rem 0 7rem;
    position: relative;
    overflow: hidden;
}

/* Subtle top gradient fade (blends with sections above) */
.ff-agents-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 80px;
    background: linear-gradient(to bottom, rgba(13,17,23,0) 0%, rgba(13,17,23,1) 100%);
    pointer-events: none;
    z-index: 0;
}

/* ── Section entry animation ────────────────────────────────────────────── */
.ff-agents-section {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.ff-agents-section.ff-section-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Header ─────────────────────────────────────────────────────────────── */
.ff-agents-header {
    text-align: center;
    margin-bottom: 3.5rem;
    position: relative;
    z-index: 1;
}

.ff-agents-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ffa-accent-bright);
    margin-bottom: 0.875rem;
}

.ff-agents-title {
    font-size: clamp(1.875rem, 3.5vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 1.125rem;
}

.ff-agents-subtitle {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--ffa-text-muted);
    max-width: 640px;
    margin: 0 auto;
}

/* ── Tab nav ─────────────────────────────────────────────────────────────── */
.ff-agents-tabs-outer {
    position: relative;
    margin-bottom: 2.5rem;
    z-index: 1;
}

/* Fade masks on left/right edges for horizontal scroll */
.ff-agents-tabs-outer::before,
.ff-agents-tabs-outer::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 48px;
    pointer-events: none;
    z-index: 2;
}
.ff-agents-tabs-outer::before {
    left: 0;
    background: linear-gradient(to right, var(--ffa-bg) 0%, transparent 100%);
}
.ff-agents-tabs-outer::after {
    right: 0;
    background: linear-gradient(to left, var(--ffa-bg) 0%, transparent 100%);
}

.ff-agents-tabs-scroll {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;          /* Firefox */
    -ms-overflow-style: none;       /* IE */
    padding: 0.25rem 0.5rem;
    border-bottom: 1px solid var(--ffa-border);
}
.ff-agents-tabs-scroll::-webkit-scrollbar {
    display: none;
}

/* ── Individual tab pill ────────────────────────────────────────────────── */
.ff-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    scroll-snap-align: start;
    padding: 0.55rem 1.125rem;
    border-radius: 100px;
    border: 1.5px solid var(--ffa-border);
    background: transparent;
    color: var(--ffa-text-muted);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition:
        border-color var(--ffa-transition),
        background-color var(--ffa-transition),
        color var(--ffa-transition),
        box-shadow var(--ffa-transition);
    outline: none;
}

.ff-tab-btn i {
    font-size: 1rem;
    flex-shrink: 0;
    transition: color var(--ffa-transition);
}

.ff-tab-btn:hover {
    border-color: rgba(45,156,170,0.4);
    background-color: rgba(45,156,170,0.06);
    color: var(--ffa-text);
}

.ff-tab-btn:focus-visible {
    box-shadow: 0 0 0 3px rgba(45,156,170,0.35);
}

.ff-tab-btn.is-active {
    border-color: var(--ffa-accent-bright);
    background: linear-gradient(135deg, rgba(124,75,175,0.35) 0%, rgba(45,156,170,0.2) 100%);
    color: #ffffff;
    box-shadow:
        0 0 0 1px rgba(45,156,170,0.3),
        0 4px 20px rgba(45,156,170,0.18),
        inset 0 1px 0 rgba(255,255,255,0.06);
}

.ff-tab-btn.is-active i {
    color: var(--ffa-accent-bright);
}

/* ── Panels container ───────────────────────────────────────────────────── */
.ff-agents-panels {
    position: relative;
    z-index: 1;
}

/* ── Individual panel ───────────────────────────────────────────────────── */
.ff-panel {
    animation: ffPanelIn 0.25s cubic-bezier(0.4,0,0.2,1) forwards;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

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

/* ── Row 1: Video area (full width, centred) ────────────────────────────── */
.ff-panel-video-row {
    display: flex;
    justify-content: center;
}

.ff-panel-video-col {
    width: 100%;
}

/* ── Row 2: Info card area (full width, centred) ────────────────────────── */
.ff-panel-info-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.ff-panel-info-col {
    width: 100%;
    max-width: 900px;
}

/* ── Nav row: prev/next + progress (shared, sits below .ff-agents-panels) ── */
.ff-panel-nav-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    max-width: 900px;
    margin: 1.5rem auto 0;
}

.ff-panel-nav-row .ff-progress-outer {
    flex: 1;
}

.ff-video-wrap {
    position: relative;
    border-radius: var(--ffa-radius);
    overflow: hidden;
    border: 1px solid var(--ffa-border);
    background: rgba(255,255,255,0.02);
}

/* 16:9 aspect ratio box */
.ff-video-placeholder {
    position: relative;
    padding-top: 56.25%;    /* 16:9 */
    background: linear-gradient(145deg, #0f1823 0%, #121e2b 50%, #0a1520 100%);
    overflow: hidden;
    cursor: pointer;
}

/* Grid dot background pattern */
.ff-video-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle, rgba(45,156,170,0.12) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: 0.8;
}

/* Large watermark icon */
.ff-video-watermark {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}
.ff-video-watermark i {
    font-size: clamp(4rem, 10vw, 7rem);
    color: rgba(45,156,170,0.07);
}

/* Status badge top-left */
.ff-video-status {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(13,17,23,0.75);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(45,156,170,0.2);
    border-radius: 100px;
    padding: 0.25rem 0.65rem 0.25rem 0.5rem;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--ffa-text-muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.ff-dot-live {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #2db87a;
    box-shadow: 0 0 6px rgba(45,184,122,0.8);
    animation: ffPulseGreen 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes ffPulseGreen {
    0%,100% { box-shadow: 0 0 4px rgba(45,184,122,0.6); }
    50%      { box-shadow: 0 0 10px rgba(45,184,122,1); }
}

.ff-video-status-text {
    color: #2db87a;
}

/* Play button (centered) */
.ff-play-btn {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: transform var(--ffa-transition);
}
.ff-play-btn:hover {
    transform: scale(1.04);
}
.ff-play-btn:focus-visible {
    outline: 2px solid var(--ffa-accent-bright);
    outline-offset: 4px;
}

.ff-play-icon {
    display: block;
    width: 72px;
    height: 72px;
    transition: transform var(--ffa-transition), filter var(--ffa-transition);
    filter: drop-shadow(0 4px 20px rgba(45,156,170,0.35));
}
.ff-play-icon svg {
    width: 100%;
    height: 100%;
}
.ff-play-btn:hover .ff-play-icon {
    transform: scale(1.08);
    filter: drop-shadow(0 6px 28px rgba(45,156,170,0.6));
}

.ff-play-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255,255,255,0.65);
    letter-spacing: 0.03em;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

/* Mini dashboard overlay (bottom of video) */
.ff-video-dash {
    position: absolute;
    bottom: 0.875rem;
    left: 0.875rem;
    right: 0.875rem;
    background: rgba(13,17,23,0.82);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(45,156,170,0.15);
    border-radius: var(--ffa-radius-sm);
    padding: 0.6rem 0.875rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    pointer-events: none;
}

.ff-vd-chip {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--ffa-text);
    white-space: nowrap;
    letter-spacing: 0.02em;
    flex-shrink: 0;
}

.ff-vd-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.ff-vd-bars {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 28px;
    flex: 1;
    justify-content: flex-end;
}
.ff-vd-bars span {
    display: block;
    width: 5px;
    border-radius: 2px 2px 0 0;
    background: linear-gradient(to top, rgba(45,156,170,0.4) 0%, rgba(45,156,170,0.8) 100%);
    flex-shrink: 0;
    animation: ffBarAnimate 2.4s ease-in-out infinite;
}
.ff-vd-bars span:nth-child(2) { animation-delay: 0.2s; }
.ff-vd-bars span:nth-child(3) { animation-delay: 0.4s; }
.ff-vd-bars span:nth-child(4) { animation-delay: 0.1s; }
.ff-vd-bars span:nth-child(5) { animation-delay: 0.35s; }
.ff-vd-bars span:nth-child(6) { animation-delay: 0.15s; }
.ff-vd-bars span:nth-child(7) { animation-delay: 0.45s; }
.ff-vd-bars span:nth-child(8) { animation-delay: 0.05s; }

@keyframes ffBarAnimate {
    0%,100% { transform: scaleY(1); opacity: 0.7; }
    50%      { transform: scaleY(0.6); opacity: 1; }
}

/* ── Info column — card fills full width of 900px column ────────────────── */
.ff-panel-info-col {
    display: block;
}

/* ── Agent card (glassmorphism) ─────────────────────────────────────────── */
.ff-agent-card {
    background: var(--ffa-bg-card);
    border: 1px solid var(--ffa-border);
    border-radius: var(--ffa-radius);
    padding: 1.75rem;
    backdrop-filter: blur(4px);
    transition: border-color var(--ffa-transition);
}
.ff-agent-card:hover {
    border-color: rgba(45,156,170,0.25);
}

.ff-agent-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.ff-agent-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ff-agent-icon-wrap i {
    font-size: 1.5rem;
}

.ff-agent-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ffa-accent-bright);
    margin-bottom: 0.2rem;
}

.ff-agent-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.ff-agent-headline {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--ffa-text);
    line-height: 1.55;
    margin-bottom: 0.75rem;
}

.ff-agent-desc {
    font-size: 0.875rem;
    color: var(--ffa-text-muted);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

/* ── Why it matters block ───────────────────────────────────────────────── */
.ff-why-block {
    background: rgba(45,156,170,0.07);
    border: 1px solid rgba(45,156,170,0.15);
    border-radius: var(--ffa-radius-sm);
    padding: 0.875rem 1rem;
}

.ff-why-title {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ffa-accent-bright);
    margin-bottom: 0.45rem;
}
.ff-why-title i {
    font-size: 0.75rem;
}

.ff-why-text {
    font-size: 0.85rem;
    color: var(--ffa-text);
    line-height: 1.6;
    margin: 0;
}

/* ── Use case links ─────────────────────────────────────────────────────── */
.ff-use-cases {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ff-use-cases-title {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ffa-text-muted);
}

.ff-use-cases-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.ff-use-case-link {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.55rem 0.75rem;
    border-radius: var(--ffa-radius-sm);
    background: var(--ffa-bg-card);
    border: 1px solid var(--ffa-border);
    color: var(--ffa-text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition:
        background-color var(--ffa-transition),
        border-color var(--ffa-transition),
        color var(--ffa-transition),
        transform 0.2s ease;
}
.ff-use-case-link:hover {
    background: var(--ffa-bg-card-hover);
    border-color: rgba(45,156,170,0.3);
    color: #ffffff;
    transform: translateX(3px);
}
.ff-use-case-link:focus-visible {
    outline: 2px solid var(--ffa-accent-bright);
    outline-offset: 2px;
}

.ff-use-case-link i:first-child {
    font-size: 0.95rem;
    color: var(--ffa-accent-bright);
    flex-shrink: 0;
}

.ff-use-case-link span {
    flex: 1;
}

.ff-uc-arrow {
    font-size: 0.7rem;
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
}
.ff-use-case-link:hover .ff-uc-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ── Panel CTAs ─────────────────────────────────────────────────────────── */
/* Use-cases when nested inside the agent card */
.ff-use-cases--card {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--ffa-border);
}

.ff-panel-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.ff-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.375rem;
    background: var(--ffa-accent);
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    transition: background var(--ffa-transition), transform 0.2s ease, box-shadow var(--ffa-transition);
}
.ff-cta-primary:hover {
    background: #174751;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(124,75,175,0.4);
}
.ff-cta-primary i {
    font-size: 0.85rem;
    transition: transform 0.2s ease;
}
.ff-cta-primary:hover i {
    transform: translateX(3px);
}

.ff-cta-ghost {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--ffa-text-muted);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color var(--ffa-transition), border-color var(--ffa-transition);
    white-space: nowrap;
}
.ff-cta-ghost:hover {
    color: var(--ffa-text);
    border-bottom-color: rgba(226,232,240,0.35);
}

/* ── Prev / Next nav buttons ────────────────────────────────────────────── */
.ff-nav-btn {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--ffa-border);
    background: rgba(255,255,255,0.04);
    color: var(--ffa-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition:
        background var(--ffa-transition),
        border-color var(--ffa-transition),
        color var(--ffa-transition),
        transform 0.2s ease;
    outline: none;
}
.ff-nav-btn:hover:not(:disabled) {
    background: rgba(45,156,170,0.12);
    border-color: rgba(45,156,170,0.4);
    color: #ffffff;
    transform: scale(1.08);
}
.ff-nav-btn:focus-visible {
    box-shadow: 0 0 0 3px rgba(45,156,170,0.35);
}
.ff-nav-btn:disabled {
    opacity: 0.25;
    cursor: not-allowed;
}

.ff-nav-btn i {
    font-size: 0.9rem;
}

/* ── Progress bar ───────────────────────────────────────────────────────── */
.ff-progress-wrap {
    margin-top: 2.5rem;
    height: 2px;
    background: var(--ffa-border);
    border-radius: 1px;
    overflow: hidden;
}

.ff-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--ffa-accent) 0%, var(--ffa-accent-bright) 100%);
    border-radius: 1px;
    transition: width 0.4s cubic-bezier(0.4,0,0.2,1);
    width: 20%; /* 1 of 5 by default */
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE — Tablet (≤ 1024px)
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    /* Vertical stack is already the layout — nothing structural to change */
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE — Mobile (≤ 767px)
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 767px) {
    .ff-agents-section {
        padding: 4rem 0 5rem;
    }

    .ff-agents-title {
        font-size: 1.75rem;
    }

    .ff-panel {
        gap: 1.5rem;
    }

    .ff-agent-card {
        padding: 1.25rem;
    }

    .ff-panel-cta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    /* Hide nav buttons on mobile — swipe handles navigation */
    .ff-nav-btn {
        display: none;
    }

    .ff-panel-nav-row {
        justify-content: center;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE — Small mobile (≤ 480px)
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
    .ff-tab-btn {
        padding: 0.45rem 0.875rem;
        font-size: 0.8125rem;
    }

    .ff-tab-btn i {
        display: none; /* hide icons on very small screens, keep text */
    }

    .ff-agent-card-header {
        flex-wrap: wrap;
    }

    .ff-vd-bars span:nth-child(n+6) {
        display: none; /* fewer bars on tiny screens */
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   AI AGENTS — PREMIUM POLISH ENHANCEMENTS (appended)
   New classes: ff-preview-*, ff-mock-*, ff-activity-*, ff-chip*, ff-progress-outer*
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Tab bar enhancements: larger hit targets + active glow ─────────────── */
.ff-tab-btn {
    padding: 0.65rem 1.375rem;   /* bigger hit target vs original 0.55rem/1.125rem */
}

.ff-tab-btn.is-active {
    box-shadow:
        0 0 0 1px rgba(45,156,170,0.4),
        0 4px 24px rgba(45,156,170,0.28),
        0 0 16px rgba(45,156,170,0.18),
        inset 0 1px 0 rgba(255,255,255,0.08);
}

/* Tab crossfade transition — panels */
.ff-panel {
    transition: opacity 0.25s ease, transform 0.25s ease;
}

/* ── Progress indicator (top — "Agent X of 5") ──────────────────────────── */
.ff-progress-outer {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    position: relative;
    z-index: 1;
}

.ff-progress-track {
    flex: 1;
    height: 3px;
    background: var(--ffa-border);
    border-radius: 2px;
    overflow: hidden;
}

.ff-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--ffa-accent) 0%, var(--ffa-accent-bright) 100%);
    border-radius: 2px;
    transition: width 0.4s cubic-bezier(0.4,0,0.2,1);
    width: 20%;
}

.ff-progress-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ffa-text-muted);
    white-space: nowrap;
    flex-shrink: 0;
    min-width: 72px;
    text-align: right;
}

/* ── Enhanced play button — Loom-style larger with pulse rings ──────────── */
.ff-play-icon {
    width: 88px;    /* larger than original 72px */
    height: 88px;
    position: relative;
    z-index: 2;
}

.ff-play-btn:hover .ff-play-icon {
    transform: scale(1.06);
    filter: drop-shadow(0 8px 32px rgba(45,156,170,0.7));
}

/* Pulse rings */
.ff-play-pulse-ring {
    position: absolute;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.25);
    animation: ffPulseRing 2.4s cubic-bezier(0.25,0.46,0.45,0.94) infinite;
    pointer-events: none;
    z-index: 1;
}

.ff-play-pulse-ring--2 {
    width: 112px;
    height: 112px;
    border-color: rgba(45,156,170,0.2);
    animation-delay: 0.8s;
}

@keyframes ffPulseRing {
    0%   { transform: scale(0.95); opacity: 0.8; }
    70%  { transform: scale(1.2);  opacity: 0; }
    100% { transform: scale(1.2);  opacity: 0; }
}

/* ── Video placeholder — rich preview content ───────────────────────────── */
.ff-preview-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    pointer-events: none;
    z-index: 1;
}

/* Dim the watermark when preview content is present */
.ff-video-watermark {
    opacity: 0.04;
}

/* ── Mock badge (shared) ────────────────────────────────────────────────── */
.ff-mock-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.65rem;
    border-radius: 100px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 1px solid rgba(255,255,255,0.1);
}

/* ── FORM AGENT — mock form UI ──────────────────────────────────────────── */
.ff-mock-form {
    background: rgba(13,17,23,0.85);
    border: 1px solid rgba(247,201,72,0.15);
    border-radius: 12px;
    padding: 1rem 1.125rem;
    width: 100%;
    max-width: 340px;
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}

.ff-mock-form-header {
    margin-bottom: 0.75rem;
}

.ff-mock-field {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    gap: 0.5rem;
}

.ff-mock-field:last-of-type {
    border-bottom: none;
}

.ff-mock-field-label {
    font-size: 0.68rem;
    color: rgba(226,232,240,0.45);
    font-weight: 600;
    flex-shrink: 0;
}

.ff-mock-field-val {
    font-size: 0.72rem;
    color: rgba(226,232,240,0.9);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.ff-mock-enriched {
    color: #4da8be;
}

.ff-mock-enriched i {
    font-size: 0.65rem;
    color: #2db87a;
}

.ff-mock-flow-arrow {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding-top: 0.5rem;
    border-top: 1px dashed rgba(247,201,72,0.2);
}

.ff-mock-flow-arrow i {
    color: #f7c948;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.ff-mock-flow-tag {
    font-size: 0.65rem;
    color: rgba(247,201,72,0.8);
    font-weight: 600;
}

.ff-mock-flow-line {
    display: none;
}

/* ── COMPANY AGENT — enrichment card ────────────────────────────────────── */
.ff-mock-company {
    background: rgba(13,17,23,0.88);
    border: 1px solid rgba(77,168,190,0.2);
    border-radius: 12px;
    padding: 1rem 1.125rem;
    width: 100%;
    max-width: 340px;
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}

.ff-mock-company-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.875rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.ff-mock-logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(77,168,190,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4da8be;
    font-size: 1rem;
    flex-shrink: 0;
}

.ff-mock-company-logo strong {
    display: block;
    font-size: 0.82rem;
    color: #e2e8f0;
    font-weight: 700;
}

.ff-mock-company-logo span {
    font-size: 0.68rem;
    color: rgba(226,232,240,0.45);
}

.ff-mock-company-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.ff-mock-cg-item {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.ff-mock-cg-label {
    font-size: 0.62rem;
    color: rgba(226,232,240,0.4);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.ff-mock-cg-val {
    font-size: 0.75rem;
    color: #e2e8f0;
    font-weight: 600;
}

.ff-mock-tech-stack {
    padding-top: 0.625rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.ff-mock-tech-stack .ff-mock-cg-label {
    display: block;
    margin-bottom: 0.4rem;
}

.ff-mock-tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
}

.ff-mock-tech-tags span {
    font-size: 0.63rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 100px;
    background: rgba(77,168,190,0.12);
    border: 1px solid rgba(77,168,190,0.25);
    color: #4da8be;
}

/* ── LEAD SCORING — score badge + signal bars ────────────────────────────── */
.ff-mock-scoring {
    background: rgba(13,17,23,0.88);
    border: 1px solid rgba(224,92,92,0.15);
    border-radius: 12px;
    padding: 1rem 1.125rem;
    width: 100%;
    max-width: 340px;
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}

.ff-mock-score-top {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.875rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.ff-mock-score-badge {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(224,92,92,0.2) 0%, rgba(224,92,92,0.35) 100%);
    border: 2px solid rgba(224,92,92,0.45);
    display: flex;
    align-items: baseline;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 20px rgba(224,92,92,0.2);
}

.ff-mock-score-num {
    font-size: 1.2rem;
    font-weight: 800;
    color: #e05c5c;
    line-height: 1;
}

.ff-mock-score-max {
    font-size: 0.6rem;
    color: rgba(224,92,92,0.7);
    font-weight: 600;
}

.ff-mock-score-meta strong {
    display: block;
    font-size: 0.82rem;
    color: #e2e8f0;
    font-weight: 700;
}

.ff-mock-score-meta span {
    font-size: 0.68rem;
    color: rgba(226,232,240,0.5);
}

.ff-mock-score-signals {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.ff-mock-signal {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ff-mock-signal-label {
    font-size: 0.65rem;
    color: rgba(226,232,240,0.5);
    font-weight: 600;
    min-width: 92px;
    flex-shrink: 0;
}

.ff-mock-signal-bar {
    flex: 1;
    height: 5px;
    background: rgba(255,255,255,0.07);
    border-radius: 3px;
    overflow: hidden;
}

.ff-mock-signal-bar div {
    height: 100%;
    border-radius: 3px;
    background: linear-gradient(90deg, rgba(224,92,92,0.6) 0%, #e05c5c 100%);
    animation: ffBarSlide 1.2s cubic-bezier(0.4,0,0.2,1) both;
}

@keyframes ffBarSlide {
    from { width: 0 !important; }
}

.ff-mock-signal-pct {
    font-size: 0.65rem;
    font-weight: 700;
    color: #e05c5c;
    min-width: 28px;
    text-align: right;
}

/* ── FUNNEL ANALYTICS — funnel viz ──────────────────────────────────────── */
.ff-mock-funnel {
    width: 100%;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.ff-mock-funnel-stage {
    width: var(--stage-w);
    background: var(--stage-color);
    border-radius: 6px;
    padding: 0.45rem 0.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: width 0.3s ease;
}

.ff-mock-funnel-label {
    font-size: 0.68rem;
    color: rgba(255,255,255,0.85);
    font-weight: 600;
}

.ff-mock-funnel-count {
    font-size: 0.72rem;
    font-weight: 800;
    color: #ffffff;
}

.ff-mock-funnel-arrow {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.15rem 0;
    color: rgba(226,232,240,0.4);
    font-size: 0.7rem;
}

.ff-mock-funnel-arrow i {
    font-size: 0.8rem;
}

.ff-mock-drop {
    font-size: 0.62rem;
    font-weight: 600;
    color: rgba(45,184,122,0.8);
}

.ff-mock-drop.ff-drop-warn {
    color: rgba(224,92,92,0.8);
}

/* ── CRM BRIDGE — sync indicator ─────────────────────────────────────────── */
.ff-mock-crm {
    background: rgba(13,17,23,0.88);
    border: 1px solid rgba(45,156,170,0.15);
    border-radius: 12px;
    padding: 1rem 1.125rem;
    width: 100%;
    max-width: 340px;
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}

.ff-mock-crm-header {
    margin-bottom: 0.875rem;
}

.ff-mock-crm-connections {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.875rem;
}

.ff-mock-crm-node {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 8px;
    padding: 0.3rem 0.5rem;
    font-size: 0.65rem;
    font-weight: 700;
    color: rgba(226,232,240,0.8);
    white-space: nowrap;
}

.ff-mock-crm-node i {
    font-size: 0.85rem;
}

.ff-crm-source {
    background: rgba(45,156,170,0.1);
    border-color: rgba(45,156,170,0.2);
}

.ff-crm-source i {
    color: #2d9caa;
}

.ff-mock-crm-pipe {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 0 0 36px;
    align-items: center;
    justify-content: center;
}

.ff-mock-crm-pipe-line {
    width: 36px;
    height: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
    position: relative;
    overflow: hidden;
}

.ff-pipe-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #2d9caa;
    flex-shrink: 0;
    animation: ffPipeDot 1.2s ease-in-out infinite;
    opacity: 0;
}

.ff-pipe-reverse .ff-pipe-dot {
    animation-direction: reverse;
    background: rgba(45,156,170,0.6);
}

@keyframes ffPipeDot {
    0%   { opacity: 0; transform: translateX(-8px); }
    40%  { opacity: 1; }
    100% { opacity: 0; transform: translateX(8px); }
}

.ff-mock-crm-targets {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.ff-crm-sync-ok {
    margin-left: auto;
    color: #2db87a;
    font-size: 0.75rem;
}

.ff-mock-crm-stat {
    display: flex;
    gap: 0.75rem;
    padding-top: 0.625rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    flex-wrap: wrap;
}

.ff-mock-crm-stat span {
    font-size: 0.65rem;
    color: rgba(226,232,240,0.5);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.ff-mock-crm-stat i {
    color: #2d9caa;
}

/* ── Spin animation for sync icon ───────────────────────────────────────── */
.ff-spin-slow {
    display: inline-block;
    animation: ffSpinSlow 3s linear infinite;
}

@keyframes ffSpinSlow {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* ── Activity strip ─────────────────────────────────────────────────────── */
.ff-activity-strip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.875rem;
    padding: 0.55rem 0.875rem;
    background: rgba(45,156,170,0.06);
    border: 1px solid rgba(45,156,170,0.15);
    border-radius: 100px;
    font-size: 0.78rem;
    color: var(--ffa-text-muted);
}

.ff-activity-strip > i {
    color: var(--ffa-accent-bright);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.ff-activity-count {
    font-weight: 800;
    color: #ffffff;
    font-size: 0.85rem;
    letter-spacing: -0.01em;
    font-variant-numeric: tabular-nums;
}

.ff-activity-label {
    color: var(--ffa-text-muted);
    font-weight: 500;
}

.ff-activity-sparkline {
    margin-left: auto;
    width: 60px;
    height: 20px;
    color: var(--ffa-accent-bright);
    flex-shrink: 0;
}

.ff-activity-sparkline svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* ── Use case chips (replace text links) ────────────────────────────────── */
.ff-chips-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.ff-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.875rem;
    border-radius: 100px;
    border: 1px solid rgba(45,156,170,0.3);
    background: rgba(45,156,170,0.06);
    color: rgba(226,232,240,0.75);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: default;
    transition:
        background var(--ffa-transition),
        border-color var(--ffa-transition),
        color var(--ffa-transition),
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.ff-chip:hover {
    background: rgba(45,156,170,0.14);
    border-color: rgba(45,156,170,0.55);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(45,156,170,0.2);
}

.ff-chip i {
    font-size: 0.85rem;
    color: var(--ffa-accent-bright);
    flex-shrink: 0;
}

.ff-chip:hover i {
    color: #ffffff;
}

/* ── Glassmorphism polish — gradient borders + inner glow ───────────────── */
.ff-agent-card {
    position: relative;
    isolation: isolate;
    background: linear-gradient(
        145deg,
        rgba(255,255,255,0.055) 0%,
        rgba(255,255,255,0.025) 100%
    );
    box-shadow:
        0 1px 0 rgba(255,255,255,0.06) inset,
        0 -1px 0 rgba(0,0,0,0.2) inset,
        0 12px 40px rgba(0,0,0,0.25);
    transition:
        border-color var(--ffa-transition),
        box-shadow var(--ffa-transition),
        transform 0.25s ease;
}

.ff-agent-card:hover {
    border-color: rgba(45,156,170,0.3);
    box-shadow:
        0 1px 0 rgba(255,255,255,0.07) inset,
        0 -1px 0 rgba(0,0,0,0.2) inset,
        0 20px 56px rgba(0,0,0,0.32),
        0 0 0 1px rgba(45,156,170,0.12),
        0 0 40px rgba(45,156,170,0.08);
    transform: translateY(-2px);
}

/* Gradient border pseudo-element */
.ff-agent-card-glow {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: -1;
    background: linear-gradient(
        135deg,
        rgba(45,156,170,0.12) 0%,
        transparent 60%,
        rgba(45,156,170,0.05) 100%
    );
    opacity: 0;
    transition: opacity var(--ffa-transition);
}

.ff-agent-card:hover .ff-agent-card-glow {
    opacity: 1;
}

/* ── Video wrap depth shadow ─────────────────────────────────────────────── */
.ff-video-wrap {
    box-shadow:
        0 4px 6px rgba(0,0,0,0.15),
        0 20px 60px rgba(0,0,0,0.35),
        0 0 0 1px rgba(45,156,170,0.06);
    transition:
        box-shadow 0.35s ease,
        transform 0.35s ease;
}

.ff-video-wrap:hover {
    box-shadow:
        0 8px 12px rgba(0,0,0,0.18),
        0 32px 80px rgba(0,0,0,0.4),
        0 0 0 1px rgba(45,156,170,0.15),
        0 0 60px rgba(45,156,170,0.06);
    transform: translateY(-3px);
}

/* ── Responsive additions ────────────────────────────────────────────────── */
@media (max-width: 767px) {
    /* Progress row stays horizontal on mobile — hide label if too tight */
    .ff-progress-label {
        display: none;
    }

    .ff-activity-strip {
        flex-wrap: wrap;
        border-radius: 12px;
        padding: 0.6rem 0.875rem;
    }

    .ff-activity-sparkline {
        display: none;
    }

    .ff-chips-list {
        gap: 0.375rem;
    }

    .ff-chip {
        font-size: 0.73rem;
        padding: 0.4rem 0.75rem;
    }
}

@media (max-width: 480px) {
    .ff-play-icon {
        width: 68px;
        height: 68px;
    }

    .ff-play-pulse-ring {
        width: 68px;
        height: 68px;
    }

    .ff-play-pulse-ring--2 {
        width: 88px;
        height: 88px;
    }

    .ff-mock-form,
    .ff-mock-company,
    .ff-mock-scoring,
    .ff-mock-crm {
        padding: 0.75rem;
        max-width: 100%;
    }
}


/* ═══════════════════════════════════════════════════════════════════════════
   USE CASES SECTION — ff-teams-*
   Alternating split layout: illustration ↔ content, scroll-driven animations.
   Image slides in from edge (translateX). Content fades + translateY.
   Responsive: stacks vertically on mobile (illustration above content).
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Section shell ──────────────────────────────────────────────────────── */
.ff-teams-section {
    background: #0d1117;
    padding: 6rem 0 7rem;
    position: relative;
    overflow: clip; /* clip (not hidden) so the sticky left panel engages — hidden makes this a scroll container */
}

/* Ambient background glow */
.ff-teams-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1100px;
    height: 600px;
    background: radial-gradient(ellipse at center top, rgba(124, 75, 175, 0.14) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

.ff-teams-section .container {
    position: relative;
    z-index: 1;
}

/* ── Section header ─────────────────────────────────────────────────────── */
.ff-teams-header {
    text-align: center;
    margin-bottom: 5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.ff-teams-header.ff-teams-in {
    opacity: 1;
    transform: translateY(0);
}

.ff-teams-title {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 800;
    color: #e8edf2;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 0.75rem;
}

.ff-teams-subtitle {
    font-size: 1.0625rem;
    color: #8a9ab0;
    margin: 0;
    font-weight: 400;
}

/* ── Rows container ─────────────────────────────────────────────────────── */
.ff-teams-rows {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* ── Row divider ────────────────────────────────────────────────────────── */
.ff-teams-row-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin: 4rem 0;
}

/* ── Single alternating row ─────────────────────────────────────────────── */
.ff-teams-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* img-left: illustration col 1, content col 2 (default DOM order) */
.ff-teams-row--img-left .ff-teams-illus  { order: 1; }
.ff-teams-row--img-left .ff-teams-content { order: 2; }

/* img-right: content col 1, illustration col 2 */
.ff-teams-row--img-right .ff-teams-content { order: 1; }
.ff-teams-row--img-right .ff-teams-illus   { order: 2; }

/* ── Illustration panel ─────────────────────────────────────────────────── */
.ff-teams-illus {
    /* Scroll-reveal base: hidden, offset by edge */
    opacity: 0;
    transition:
        opacity 0.6s ease-out,
        transform 0.6s ease-out;
    will-change: opacity, transform;
}

.ff-teams-illus[data-anim="slide-left"]  { transform: translateX(-48px); }
.ff-teams-illus[data-anim="slide-right"] { transform: translateX(48px);  }

.ff-teams-illus.ff-teams-in {
    opacity: 1;
    transform: translateX(0);
}

/* ── Illustration card (CSS-drawn visual) ───────────────────────────────── */
.ff-teams-illus-card {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.ff-teams-illus-card:hover {
    border-color: rgba(var(--ff-team-accent-rgb, 45, 156, 170), 0.25);
    box-shadow:
        0 12px 48px rgba(0, 0, 0, 0.3),
        0 0 64px rgba(0, 0, 0, 0.15);
}

/* Per-team inner glow overlay */
.ff-teams-illus-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 30%, color-mix(in srgb, var(--ff-team-accent) 14%, transparent) 0%, transparent 60%);
    pointer-events: none;
}

/* ── Main icon inside illustration ─────────────────────────────────────── */
.ff-teams-illus-icon {
    position: relative;
    z-index: 1;
    width: 88px;
    height: 88px;
    border-radius: 24px;
    background: color-mix(in srgb, var(--ff-team-accent) 18%, transparent);
    border: 1px solid color-mix(in srgb, var(--ff-team-accent) 35%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 0 0 16px color-mix(in srgb, var(--ff-team-accent) 7%, transparent),
        0 0 0 32px color-mix(in srgb, var(--ff-team-accent) 3%, transparent);
}

.ff-teams-illus-icon i {
    font-size: 2.4rem;
    color: var(--ff-team-accent);
}

/* ── Decorative dots ────────────────────────────────────────────────────── */
.ff-teams-dot {
    position: absolute;
    border-radius: 50%;
    background: var(--ff-team-accent);
    opacity: 0.35;
    z-index: 0;
}

.ff-teams-dot--1 {
    width: 8px;
    height: 8px;
    top: 18%;
    left: 15%;
    animation: ff-teams-float 4s ease-in-out infinite;
}

.ff-teams-dot--2 {
    width: 5px;
    height: 5px;
    bottom: 22%;
    right: 14%;
    animation: ff-teams-float 5.5s ease-in-out infinite 0.8s;
}

.ff-teams-dot--3 {
    width: 10px;
    height: 10px;
    top: 65%;
    left: 12%;
    opacity: 0.2;
    animation: ff-teams-float 6s ease-in-out infinite 1.5s;
}

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

/* ── Decorative ring ────────────────────────────────────────────────────── */
.ff-teams-ring {
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 1px dashed color-mix(in srgb, var(--ff-team-accent) 25%, transparent);
    z-index: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: ff-teams-spin 18s linear infinite;
}

@keyframes ff-teams-spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ── Decorative stat bar ────────────────────────────────────────────────── */
.ff-teams-stat-bar {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    height: 4px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 2px;
    overflow: hidden;
    z-index: 1;
}

.ff-teams-stat-fill {
    display: block;
    height: 100%;
    width: 65%;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--ff-team-accent), color-mix(in srgb, var(--ff-team-accent) 50%, transparent));
}

/* ── Content panel ──────────────────────────────────────────────────────── */
.ff-teams-content {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.6s ease-out,
        transform 0.6s ease-out;
    will-change: opacity, transform;
}

.ff-teams-content.ff-teams-in {
    opacity: 1;
    transform: translateY(0);
}

/* ── Team badge ─────────────────────────────────────────────────────────── */
.ff-teams-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.35rem 0.85rem 0.35rem 0.65rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--ff-team-accent) 14%, transparent);
    border: 1px solid color-mix(in srgb, var(--ff-team-accent) 30%, transparent);
    margin-bottom: 1.25rem;
}

.ff-teams-badge i {
    font-size: 0.9rem;
    color: var(--ff-team-accent);
}

.ff-teams-badge span {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--ff-team-accent);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ── Section divider inside content ────────────────────────────────────── */
.ff-teams-divider {
    border: none;
    border-top: 1px solid color-mix(in srgb, var(--ff-team-accent) 22%, rgba(255,255,255,0.07));
    margin: 0 0 1.75rem;
}

/* ── Use case list ──────────────────────────────────────────────────────── */
.ff-teams-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.ff-teams-list-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 1rem;
    color: #8a9ab0;
    line-height: 1.55;
}

.ff-teams-check {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: color-mix(in srgb, var(--ff-team-accent) 16%, transparent);
    border: 1px solid color-mix(in srgb, var(--ff-team-accent) 28%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.1rem;
}

.ff-teams-check i {
    font-size: 0.8rem;
    color: var(--ff-team-accent);
}

/* ── CTA link ───────────────────────────────────────────────────────────── */
.ff-teams-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ff-team-accent);
    text-decoration: none;
    letter-spacing: 0.01em;
    transition: gap 0.2s ease, opacity 0.2s ease;
}

.ff-teams-cta i {
    font-size: 0.85rem;
    transition: transform 0.25s ease;
}

.ff-teams-cta:hover {
    gap: 0.75rem;
    opacity: 0.85;
}

.ff-teams-cta:hover i {
    transform: translateX(4px);
}

/* ── Tablet: tighten gap ────────────────────────────────────────────────── */
@media (max-width: 991.98px) {
    .ff-teams-row {
        gap: 2.5rem;
    }
}

/* ── Mobile: single column, illustration above content ─────────────────── */
@media (max-width: 767.98px) {
    .ff-teams-section {
        padding: 4rem 0 5rem;
    }

    .ff-teams-header {
        margin-bottom: 3rem;
    }

    .ff-teams-row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Always: illustration on top regardless of img-left/img-right */
    .ff-teams-row--img-left  .ff-teams-illus,
    .ff-teams-row--img-right .ff-teams-illus  { order: 1; }
    .ff-teams-row--img-left  .ff-teams-content,
    .ff-teams-row--img-right .ff-teams-content { order: 2; }

    .ff-teams-illus-card {
        aspect-ratio: 16 / 7;
    }

    .ff-teams-row-divider {
        margin: 3rem 0;
    }

    /* On small screens, bypass animation — show immediately */
    .ff-teams-illus,
    .ff-teams-content {
        opacity: 1;
        transform: none;
        transition: none;
    }
}


/* ═══════════════════════════════════════════════════════════════════════════
   USE CASES SECTION — SCROLL-STICKY REBUILD
   "Built for every team" — ff-teams-* (layout) / ff-teams-card-* (cards)

   Strategy:
     - Section outer: natural height (set by right column scroll scenes)
     - Inner wrapper: flex row — sticky left (42%) + scrolling right (58%)
     - Left: position:sticky, top:0, height:100vh — pins while right scrolls
     - Right: 3 × .ff-teams-scene each min-height:100vh
     - IntersectionObserver toggles .is-active on each scene
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Section shell ──────────────────────────────────────────────────────── */
.ff-teams-section {
    background: #0d1117;
    position: relative;
    overflow: clip; /* clip (not hidden) so the sticky left panel engages — hidden makes this a scroll container */
}

/* Ambient top glow */
.ff-teams-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1100px;
    height: 600px;
    background: radial-gradient(ellipse at center top, rgba(124,75,175,0.14) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

/* ── Sticky wrapper ─────────────────────────────────────────────────────── */
.ff-teams-wrapper {
    display: flex;
    align-items: stretch;
    min-height: 300vh;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

/* ── LEFT: Sticky panel ─────────────────────────────────────────────────── */
.ff-teams-left {
    width: 42%;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 3rem 3rem 3rem 1rem;
    align-self: flex-start;
}

.ff-teams-left-inner {
    max-width: 420px;
}

.ff-teams-heading {
    font-size: clamp(1.75rem, 2.8vw, 2.5rem);
    font-weight: 800;
    line-height: 1.15;
    color: #e8edf2;
    letter-spacing: -0.03em;
    margin-bottom: 1.1rem;
}

.ff-teams-accent {
    color: #2d9caa;
}

.ff-teams-subtext {
    font-size: 1rem;
    line-height: 1.7;
    color: #8a9ab0;
    margin-bottom: 1.75rem;
}

/* ── Left CTAs ──────────────────────────────────────────────────────────── */
.ff-teams-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2.25rem;
}

.ff-teams-btn-primary {
    display: inline-flex;
    align-items: center;
    padding: 0.65rem 1.5rem;
    background: #7c4baf;
    color: #fff;
    font-weight: 600;
    font-size: 0.92rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.15s ease;
}
.ff-teams-btn-primary:hover {
    background: #174851;
    transform: translateY(-1px);
    color: #fff;
}

.ff-teams-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.65rem 1.25rem;
    border: 2px solid rgba(255,255,255,0.12);
    color: #c8d8db;
    font-weight: 600;
    font-size: 0.92rem;
    border-radius: 8px;
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
    background: transparent;
}
.ff-teams-btn-outline:hover {
    border-color: #2d9caa;
    color: #2d9caa;
    transform: translateY(-1px);
}
.ff-teams-btn-outline i {
    font-size: 0.85rem;
    transition: transform 0.2s ease;
}
.ff-teams-btn-outline:hover i {
    transform: translateX(3px);
}

/* ── Progress dots ──────────────────────────────────────────────────────── */
.ff-teams-dots {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.9rem;
}

.ff-teams-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
    outline: none;
}
.ff-teams-dot:focus-visible {
    box-shadow: 0 0 0 3px rgba(45,156,170,0.4);
}
.ff-teams-dot.active {
    width: 28px;
    border-radius: 4px;
    background: var(--ff-dot-accent, #2d9caa);
}

/* ── Active label ───────────────────────────────────────────────────────── */
.ff-teams-active-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.35);
    margin: 0;
}
#ff-teams-active-name {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #2d9caa;
    transition: opacity 0.25s ease;
}
.ff-teams-active-counter {
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.04em;
}

/* ── RIGHT: Scrolling scenes ────────────────────────────────────────────── */
.ff-teams-right {
    flex: 1;
    padding: 0 1rem 0 2rem;
}

/* Each scene is ~100vh — provides scroll travel */
.ff-teams-scene {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0;
}

/* ── Card inside scene ──────────────────────────────────────────────────── */
.ff-teams-card {
    width: 100%;
    max-width: 560px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow:
        0 2px 6px rgba(0,0,0,0.25),
        0 10px 40px rgba(0,0,0,0.2);
    transition:
        opacity 0.5s ease,
        transform 0.5s cubic-bezier(0.4,0,0.2,1),
        box-shadow 0.5s ease,
        border-color 0.5s ease;
    opacity: 0.3;
    transform: translateY(40px);
    will-change: opacity, transform;
}

/* Accent border glow on active card */
.ff-teams-scene.is-active .ff-teams-card {
    opacity: 1;
    transform: translateY(0);
    border-color: color-mix(in srgb, var(--ff-scene-accent) 28%, rgba(255,255,255,0.07));
    box-shadow:
        0 4px 12px rgba(0,0,0,0.35),
        0 20px 60px rgba(0,0,0,0.25),
        0 0 0 1px color-mix(in srgb, var(--ff-scene-accent) 12%, transparent);
}

/* ── Card header ────────────────────────────────────────────────────────── */
.ff-teams-card-header {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
}

.ff-teams-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: color-mix(in srgb, var(--ff-scene-accent) 16%, rgba(255,255,255,0.04));
    border: 1px solid color-mix(in srgb, var(--ff-scene-accent) 28%, transparent);
}
.ff-teams-card-icon i {
    font-size: 1.55rem;
    color: var(--ff-scene-accent);
}

.ff-teams-card-counter {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    margin-bottom: 0.3rem;
}

.ff-teams-card-title {
    font-size: 1.45rem;
    font-weight: 800;
    color: #e8edf2;
    margin: 0 0 0.45rem;
    line-height: 1.2;
}

.ff-teams-card-desc {
    font-size: 0.9rem;
    color: #8a9ab0;
    line-height: 1.65;
    margin: 0;
}

/* ── Card visual panel ──────────────────────────────────────────────────── */
.ff-teams-card-visual {
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    padding: 1.25rem;
}

.ff-teams-card-visual-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.3);
    margin-bottom: 1rem;
}

/* ── Chips ──────────────────────────────────────────────────────────────── */
.ff-teams-card-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 1rem;
}
.ff-teams-card-chip {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--ff-scene-accent);
    background: color-mix(in srgb, var(--ff-scene-accent) 12%, transparent);
    border: 1px solid color-mix(in srgb, var(--ff-scene-accent) 22%, transparent);
    padding: 0.2rem 0.65rem;
    border-radius: 20px;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

/* ════════════════════════════════════════════════════════════════════════
   CARD VISUALS — Sales
   ════════════════════════════════════════════════════════════════════════ */
.ff-teams-lead-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ff-teams-lead-row {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.ff-teams-lead-row:last-child { border-bottom: none; }

.ff-teams-lead-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.ff-teams-lead-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: #c8d8e0;
    flex: 1;
}
.ff-teams-lead-badge {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
    flex-shrink: 0;
}
.ff-teams-lead-badge--hot   { background: rgba(255, 80, 80, 0.18); color: #ff6b6b; }
.ff-teams-lead-badge--warm  { background: rgba(255, 180, 50, 0.18); color: #ffb432; }
.ff-teams-lead-badge--new   { background: rgba(45, 156, 170, 0.18); color: #2d9caa; }

.ff-teams-lead-score-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.ff-teams-lead-score-bar {
    flex: 1;
    display: block;
    height: 5px;
    background: rgba(255,255,255,0.08);
    border-radius: 3px;
    overflow: hidden;
}
.ff-teams-lead-score-bar span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #2d9caa, #00c896);
    border-radius: 3px;
    transition: width 0.8s ease 0.2s;
}
.ff-teams-lead-score-num {
    font-size: 0.72rem;
    font-weight: 700;
    color: #8a9ab0;
    min-width: 24px;
    text-align: right;
}

.ff-teams-lead-tags {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}
.ff-teams-lead-tag {
    font-size: 0.65rem;
    font-weight: 600;
    color: #2d9caa;
    background: rgba(45,156,170,0.1);
    padding: 0.1rem 0.4rem;
    border-radius: 3px;
}

/* ════════════════════════════════════════════════════════════════════════
   CARD VISUALS — Marketing
   ════════════════════════════════════════════════════════════════════════ */
.ff-teams-campaign-dash {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ff-teams-campaign-stats {
    display: flex;
    gap: 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.06);
}
.ff-teams-campaign-stat {
    flex: 1;
    padding: 0.65rem 0.75rem;
    border-right: 1px solid rgba(255,255,255,0.06);
    background: rgba(255,255,255,0.025);
    text-align: center;
}
.ff-teams-campaign-stat:last-child { border-right: none; }

.ff-teams-campaign-stat-val {
    display: block;
    font-size: 1.1rem;
    font-weight: 800;
    color: #7c4dff;
    line-height: 1;
    margin-bottom: 0.25rem;
}
.ff-teams-campaign-stat-lbl {
    display: block;
    font-size: 0.65rem;
    color: rgba(255,255,255,0.35);
    line-height: 1.3;
}

/* Bar chart */
.ff-teams-campaign-chart {
    display: flex;
    align-items: flex-end;
    height: 60px;
}
.ff-teams-chart-bar-wrap {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    width: 100%;
    height: 100%;
}
.ff-teams-chart-bar {
    flex: 1;
    background: linear-gradient(180deg, #7c4dff 0%, rgba(124,77,255,0.4) 100%);
    border-radius: 4px 4px 0 0;
    position: relative;
    min-height: 8px;
    transition: opacity 0.3s ease;
}
.ff-teams-chart-bar span {
    position: absolute;
    bottom: -1.4rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.58rem;
    color: rgba(255,255,255,0.3);
    white-space: nowrap;
}

/* ════════════════════════════════════════════════════════════════════════
   CARD VISUALS — RevOps
   ════════════════════════════════════════════════════════════════════════ */
.ff-teams-revops-panel {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Sync rows */
.ff-teams-sync-rows {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.ff-teams-sync-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    padding: 0.4rem 0.6rem;
    background: rgba(255,255,255,0.025);
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.05);
}
.ff-teams-sync-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}
.ff-teams-sync-dot--live    { background: #00c896; box-shadow: 0 0 6px rgba(0,200,150,0.5); }
.ff-teams-sync-dot--pending { background: #ffb432; box-shadow: 0 0 6px rgba(255,180,50,0.4); }

.ff-teams-sync-crm {
    font-weight: 700;
    color: #c8d8e0;
    min-width: 72px;
}
.ff-teams-sync-label {
    flex: 1;
    color: #8a9ab0;
}
.ff-teams-sync-val {
    font-weight: 700;
    color: #00c896;
    font-variant-numeric: tabular-nums;
}

/* Workflow rows */
.ff-teams-workflow-rows {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}
.ff-teams-wf-row {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.78rem;
    padding: 0.4rem 0.5rem;
    background: rgba(255,255,255,0.025);
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.05);
}
.ff-teams-wf-icon {
    font-size: 0.8rem;
    color: #00c896;
    flex-shrink: 0;
}
.ff-teams-wf-name {
    flex: 1;
    color: #c8d8e0;
}
.ff-teams-wf-status {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    white-space: nowrap;
}
.ff-teams-wf-status--active    { background: rgba(0,200,150,0.15); color: #00c896; }
.ff-teams-wf-status--scheduled { background: rgba(255,180,50,0.15); color: #ffb432; }

/* ════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════════════════ */
@media (max-width: 991.98px) {
    .ff-teams-wrapper {
        flex-direction: column;
        padding: 0 1.25rem;
    }

    /* Left panel: normal flow on tablet/mobile */
    .ff-teams-left {
        width: 100%;
        position: static;
        height: auto;
        padding: 3.5rem 0 1.5rem;
    }
    .ff-teams-left-inner {
        max-width: 100%;
    }
    .ff-teams-heading {
        font-size: clamp(1.75rem, 5vw, 2.25rem);
    }
    /* Hide progress + counter on mobile */
    .ff-teams-dots,
    .ff-teams-active-label {
        display: none;
    }

    /* Right column: natural flow */
    .ff-teams-right {
        padding: 0.5rem 0 4rem;
        width: 100%;
    }
    .ff-teams-scene {
        min-height: auto;
        padding: 1.5rem 0;
    }
    /* All cards fully visible on mobile */
    .ff-teams-card {
        opacity: 1 !important;
        transform: none !important;
        max-width: 100%;
        border-color: rgba(255,255,255,0.07) !important;
    }
}

@media (max-width: 575.98px) {
    .ff-teams-card {
        padding: 1.5rem;
    }
    .ff-teams-card-header {
        flex-direction: column;
        gap: 0.75rem;
    }
    .ff-teams-campaign-stats {
        flex-wrap: wrap;
    }
    .ff-teams-campaign-stat {
        flex: 0 0 50%;
    }
    .ff-teams-campaign-stat:last-child {
        flex: 0 0 100%;
    }
}

/* ========================================
   Partner Tiers Section - ff-partners-*
   ======================================== */

.ff-partners-section {
    background-color: #f8f9fa;
}

.ff-partner-card {
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(124, 75, 175, 0.1);
}

.ff-partner-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.ff-partner-card.ff-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.ff-tier-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background-color: rgba(124, 75, 175, 0.1);
    color: #7c4baf;
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    border-radius: 50px;
}

.ff-tier-commission {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ff-percentage {
    font-size: 3rem;
    font-weight: 800;
    color: #7c4baf;
    line-height: 1;
}

.ff-label {
    font-size: 1rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.25rem;
}

.ff-benefits-list {
    color: #495057;
    font-size: 0.95rem;
    line-height: 1.8;
}

.ff-btn-join,
.ff-btn-apply,
.ff-btn-contact {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 200px;
}

.ff-btn-join {
    background-color: #7c4baf;
    color: #ffffff;
    border: 2px solid #7c4baf;
}

.ff-btn-join:hover {
    background-color: #154449;
    border-color: #154449;
    color: #ffffff;
}

.ff-btn-apply {
    background-color: transparent;
    color: #7c4baf;
    border: 2px solid #7c4baf;
}

.ff-btn-apply:hover {
    background-color: #7c4baf;
    color: #ffffff;
}

.ff-btn-contact {
    background-color: transparent;
    color: #7c4baf;
    border: 2px solid #7c4baf;
}

.ff-btn-contact:hover {
    background-color: #7c4baf;
    color: #ffffff;
}

.ff-divider {
    width: 100%;
    max-width: 600px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(124, 75, 175, 0.3), transparent);
    margin: 0 auto;
}

.ff-target-badge {
    display: inline-block;
    padding: 0.625rem 1.25rem;
    background-color: rgba(124, 75, 175, 0.1);
    color: #7c4baf;
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.ff-target-badge:hover {
    background-color: #7c4baf;
    color: #ffffff;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .ff-partner-card {
        padding: 1.5rem;
    }

    .ff-percentage {
        font-size: 2.5rem;
    }
}

@media (max-width: 767.98px) {
    .ff-partners-section {
        padding: 3rem 0;
    }

    .ff-partner-card {
        margin-bottom: 1rem;
    }

    .ff-btn-join,
    .ff-btn-apply,
    .ff-btn-contact {
        max-width: 100%;
    }
}

/* ========================================
   Core Industries Section - ff-industries-*
   ======================================== */

.ff-industries-section {
    background-color: #f8f9fa;
}

.ff-industry-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.ff-industry-card.ff-industries-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.ff-industry-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.ff-industry-icon {
    font-size: 2.5rem;
    line-height: 1;
}

.ff-industries-section .ff-examples {
    margin-bottom: 0;
    line-height: 1.4;
}

.ff-industries-section .ff-why {
    margin-top: auto;
}

/* Responsive adjustments for industries section */
@media (max-width: 991.98px) {
    .ff-industries-section .ff-industry-card {
        margin-bottom: 1rem;
    }
}

@media (max-width: 767.98px) {
    .ff-industries-section {
        padding: 3rem 0;
    }

    .ff-industries-section .row.g-4 {
        --bs-gutter-y: 1rem;
    }
}
