/* ClearRun Automation Catalogue
   White-tinted glass on navy. Values derive from styles.css vars only. */

.cat-page {
    background: var(--navy-dark);
    background-image:
        radial-gradient(ellipse 1200px 800px at 10% -5%, rgba(26, 158, 143, 0.14), transparent 60%),
        radial-gradient(ellipse 1000px 700px at 95% 30%, rgba(19, 45, 84, 0.8), transparent 65%),
        radial-gradient(ellipse 800px 600px at 25% 85%, rgba(26, 158, 143, 0.08), transparent 60%),
        linear-gradient(180deg, var(--navy) 0%, var(--navy-dark) 100%);
    background-attachment: fixed;
    color: var(--white);
    min-height: 100vh;
    padding-top: 72px;
}

.cat-page a {
    color: var(--white);
}

.cat-hero {
    padding: 5rem 0 3rem;
    text-align: center;
}

.cat-hero__eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(26, 158, 143, 0.1);
    border: 1px solid rgba(26, 158, 143, 0.28);
    padding: 5px 14px;
    border-radius: 999px;
    margin-bottom: 1.25rem;
}

.cat-hero__title {
    color: var(--white);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 600;
    line-height: 1.15;
    max-width: 720px;
    margin: 0 auto 1rem;
    letter-spacing: -0.01em;
}

.cat-hero__subtitle {
    color: var(--text-on-dark);
    font-size: clamp(1rem, 1.7vw, 1.1rem);
    line-height: 1.65;
    max-width: 580px;
    margin: 0 auto;
}

/* ============================================
   Sorter (search + dropdown)
   ============================================ */

.cat-sorter {
    max-width: 620px;
    margin: 2.5rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Combobox (searchable dropdown) */

.cat-combo {
    position: relative;
    width: 100%;
}

.cat-combo__input {
    width: 100%;
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    padding: 0.95rem 3rem 0.95rem 1.1rem;
    background: rgba(255, 255, 255, 0.11);
    backdrop-filter: blur(18px) saturate(1.3);
    -webkit-backdrop-filter: blur(18px) saturate(1.3);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--radius-md);
    color: var(--white);
    transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
    outline: none;
}

.cat-combo__input::placeholder {
    color: rgba(255, 255, 255, 0.52);
}

.cat-combo__input:focus,
.cat-combo.is-open .cat-combo__input {
    border-color: rgba(26, 158, 143, 0.65);
    background: rgba(255, 255, 255, 0.14);
    box-shadow: 0 0 0 3px rgba(26, 158, 143, 0.15);
}

.cat-combo__toggle {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition), color var(--transition), transform var(--transition);
}

.cat-combo__toggle:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
}

.cat-combo.is-open .cat-combo__toggle {
    transform: translateY(-50%) rotate(180deg);
    color: var(--accent);
}

.cat-combo__list {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    max-height: 280px;
    overflow-y: auto;
    margin: 0;
    padding: 6px;
    list-style: none;
    background: rgba(12, 28, 54, 0.85);
    backdrop-filter: blur(24px) saturate(1.4);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-md);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
    z-index: 40;
}

.cat-combo__list[hidden] { display: none; }

.cat-combo__item {
    padding: 10px 14px;
    border-radius: calc(var(--radius-md) - 4px);
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.88);
    cursor: pointer;
    transition: background 120ms ease, color 120ms ease;
    line-height: 1.35;
}

.cat-combo__item:hover,
.cat-combo__item.is-active {
    background: rgba(26, 158, 143, 0.2);
    color: var(--white);
}

.cat-combo__empty {
    padding: 12px 14px;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

.cat-combo__list::-webkit-scrollbar { width: 6px; }
.cat-combo__list::-webkit-scrollbar-track { background: transparent; }
.cat-combo__list::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.15); border-radius: 3px; }

.cat-sorter__count {
    text-align: center;
    color: var(--text-on-dark);
    font-size: 0.88rem;
    margin-top: 0.5rem;
    font-weight: 500;
}

.cat-sorter__clear {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-on-dark);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.82rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    cursor: pointer;
    margin-left: 0.5rem;
    transition: all var(--transition);
}

.cat-sorter__clear:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* ============================================
   Product grid — sections stack full-width
   vertically; cards inside auto-fill the row
   so each section breathes at its natural size
   without fighting a neighbour's height. Mobile
   collapses gracefully via a single auto-fill
   rule, no breakpoint-specific column counts.
   ============================================ */

.cat-grid-wrap {
    padding: 2.5rem 0 6rem;
}

.cat-sections {
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
}

.cat-section {
    display: flex;
    flex-direction: column;
    min-width: 0;
    width: 100%;
}

.cat-section.is-empty { opacity: 0.5; }

.cat-section__head {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin: 0 0 0.6rem;
    text-align: center;
    align-items: center;
    padding: 0 1rem;
}

.cat-section__eyebrow {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.cat-section__title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 600;
    color: var(--white);
    letter-spacing: -0.015em;
    margin: 0;
    line-height: 1.05;
}

.cat-section__blurb {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.68);
    max-width: 56ch;
}

/* ----- Curly-brace framing (90° flipped) ----- */

.cat-section__brace {
    display: flex;
    width: 100%;
    color: rgba(255, 255, 255, 0.32);
}

.cat-section__brace--top {
    align-items: flex-start;
    margin: 0.5rem 0 1.25rem;
}

.cat-section__brace--bottom {
    align-items: flex-end;
    margin: 1.25rem 0 0.25rem;
}

.cat-section__brace-line {
    flex: 1 1 auto;
    height: 1px;
    background: currentColor;
    align-self: flex-start;
    min-width: 0;
}

.cat-section__brace--bottom .cat-section__brace-line {
    align-self: flex-end;
}

.cat-section__notch {
    flex: 0 0 auto;
    width: 56px;
    height: 10px;
    display: block;
}

/* ----- The card grid inside each section -----
   auto-fill + minmax means cards size themselves
   to fit available width:
     - very wide  → 5-6 cols
     - desktop    → 4 cols
     - tablet     → 2-3 cols
     - phone      → 1 col
   No media-query breakpoints needed for column count. */

.cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}

/* Card metrics — slightly more compact than the old default */
.cat-section .cat-card__visual { aspect-ratio: 4 / 3; }
.cat-section .cat-card__icon { width: 56%; height: 56%; }
.cat-section .cat-card__body {
    padding: 0.85rem 1rem 1rem;
    gap: 0.3rem;
}
.cat-section .cat-card__title {
    font-size: 0.98rem;
    line-height: 1.25;
}
.cat-section .cat-card__pitch {
    font-size: 0.8rem;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.cat-section .cat-card__price {
    font-size: 0.76rem;
    margin-top: 0.3rem;
}

/* ----- Mobile-specific tightening below 600px ----- */

@media (max-width: 600px) {
    .cat-grid-wrap { padding: 1.5rem 0 4rem; }
    .cat-sections { gap: 2.25rem; }
    .cat-grid {
        /* slightly smaller min so 2 cards still fit on most phones (375px+) */
        grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
        gap: 0.7rem;
    }
    .cat-section__head { margin-bottom: 0.4rem; padding: 0 0.5rem; }
    .cat-section__blurb { font-size: 0.86rem; }
    .cat-section__notch { width: 42px; height: 8px; }
    .cat-section__brace--top { margin: 0.25rem 0 0.9rem; }
    .cat-section__brace--bottom { margin: 0.9rem 0 0.25rem; }
    .cat-section .cat-card__body { padding: 0.7rem 0.8rem 0.85rem; }
    .cat-section .cat-card__title { font-size: 0.92rem; }
    .cat-section .cat-card__pitch { font-size: 0.76rem; -webkit-line-clamp: 2; }
}

/* Very narrow phones — single column */
@media (max-width: 380px) {
    .cat-grid {
        grid-template-columns: 1fr;
        gap: 0.7rem;
    }
}

/* ============================================
   Product card
   ============================================ */

.cat-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.08) 100%);
    backdrop-filter: blur(22px) saturate(1.4);
    -webkit-backdrop-filter: blur(22px) saturate(1.4);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 240ms cubic-bezier(0.2, 0.8, 0.2, 1),
                border-color 240ms cubic-bezier(0.2, 0.8, 0.2, 1),
                box-shadow 240ms cubic-bezier(0.2, 0.8, 0.2, 1),
                opacity 240ms cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.16) inset,
        0 10px 30px rgba(0, 0, 0, 0.22);
}

.cat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.22) inset,
        0 20px 50px rgba(0, 0, 0, 0.38),
        0 0 0 1px rgba(26, 158, 143, 0.28);
}

/* ============================================
   Per-category tints — subtle glow on icon area
   to give the grid visual variety. Each category's
   tint is derived (alpha layers only) — no new
   named colour tokens.
   ============================================ */

/* Customer Service — teal/accent */
.cat-card--cs .cat-card__visual {
    background:
        radial-gradient(ellipse at 30% 25%, rgba(26, 158, 143, 0.28), transparent 60%),
        radial-gradient(ellipse at 75% 85%, rgba(26, 158, 143, 0.12), transparent 60%),
        linear-gradient(135deg, rgba(11, 29, 58, 0.55) 0%, rgba(7, 20, 40, 0.75) 100%);
}

/* Marketing — warm coral */
.cat-card--marketing .cat-card__visual {
    background:
        radial-gradient(ellipse at 30% 25%, rgba(232, 138, 152, 0.28), transparent 60%),
        radial-gradient(ellipse at 75% 85%, rgba(220, 160, 120, 0.14), transparent 60%),
        linear-gradient(135deg, rgba(11, 29, 58, 0.55) 0%, rgba(7, 20, 40, 0.75) 100%);
}

/* HR — soft lavender */
.cat-card--hr .cat-card__visual {
    background:
        radial-gradient(ellipse at 30% 25%, rgba(165, 184, 224, 0.3), transparent 60%),
        radial-gradient(ellipse at 75% 85%, rgba(190, 170, 230, 0.14), transparent 60%),
        linear-gradient(135deg, rgba(11, 29, 58, 0.55) 0%, rgba(7, 20, 40, 0.75) 100%);
}

/* Finance & Admin — warm gold */
.cat-card--finance .cat-card__visual {
    background:
        radial-gradient(ellipse at 30% 25%, rgba(212, 175, 122, 0.3), transparent 60%),
        radial-gradient(ellipse at 75% 85%, rgba(230, 195, 130, 0.14), transparent 60%),
        linear-gradient(135deg, rgba(11, 29, 58, 0.55) 0%, rgba(7, 20, 40, 0.75) 100%);
}

/* Operations — cool mint/green */
.cat-card--ops .cat-card__visual {
    background:
        radial-gradient(ellipse at 30% 25%, rgba(143, 201, 168, 0.3), transparent 60%),
        radial-gradient(ellipse at 75% 85%, rgba(120, 180, 200, 0.14), transparent 60%),
        linear-gradient(135deg, rgba(11, 29, 58, 0.55) 0%, rgba(7, 20, 40, 0.75) 100%);
}

.cat-card.is-dim {
    opacity: 0.28;
    pointer-events: none;
}

.cat-card.is-hidden {
    display: none;
}

.cat-card__visual {
    position: relative;
    aspect-ratio: 4 / 3;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(26, 158, 143, 0.15), transparent 55%),
        linear-gradient(135deg, rgba(11, 29, 58, 0.7) 0%, rgba(7, 20, 40, 0.85) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cat-card__icon {
    width: 64%;
    height: 64%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 360ms ease, transform 360ms ease;
}

.cat-card__anim {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 360ms ease;
    pointer-events: none;
}

.cat-card:hover .cat-card__icon {
    opacity: 0;
    transform: scale(0.92);
}

.cat-card:hover .cat-card__anim {
    opacity: 1;
}

.cat-card__body {
    padding: 1.15rem 1.25rem 1.35rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    flex: 1;
}

.cat-card__title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1.3;
    margin: 0;
}

.cat-card__pitch {
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--text-on-dark);
    margin: 0;
    flex: 1;
}

.cat-card__price {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 0.5rem;
    font-weight: 500;
}

.cat-card__price strong {
    color: var(--accent);
    font-weight: 700;
}

/* ============================================
   Icon family — shared design language
   (abstract geometric shapes, accent + white strokes)
   ============================================ */

.cri {
    width: 120px;
    height: 120px;
    position: relative;
    display: block;
}

.cri svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.cri-stroke { stroke: rgba(255, 255, 255, 0.85); stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.cri-accent { stroke: var(--accent); stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.cri-fill-accent { fill: var(--accent); }
.cri-fill-soft { fill: rgba(26, 158, 143, 0.2); }
.cri-fill-white-soft { fill: rgba(255, 255, 255, 0.08); }

/* Base icon animations — subtle, shared family */
.cat-card:hover .cri { animation: cri-idle 6s ease-in-out infinite; }

@keyframes cri-idle {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-2px) rotate(1deg); }
}

/* Per-icon hover animations (applied via .cat-card__anim wrapper) */

/* Enquiry bot: chat bubble + reply */
.anim-enquiry .bubble { position: absolute; border-radius: 14px; padding: 10px 14px; font-size: 0.72rem; font-family: 'DM Sans', sans-serif; font-weight: 500; line-height: 1.35; opacity: 0; }
.anim-enquiry .bubble--ask { left: 14%; top: 24%; background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.85); border-radius: 14px 14px 14px 4px; animation: eq-ask 5s ease infinite; max-width: 60%; }
.anim-enquiry .bubble--reply { right: 10%; bottom: 22%; background: var(--accent); color: var(--white); border-radius: 14px 14px 4px 14px; animation: eq-reply 5s ease infinite; max-width: 65%; }
@keyframes eq-ask { 0%, 10% { opacity: 0; transform: translateY(8px); } 20%, 50% { opacity: 1; transform: translateY(0); } 60%, 100% { opacity: 1; transform: translateY(0); } }
@keyframes eq-reply { 0%, 55% { opacity: 0; transform: translateY(8px); } 70%, 95% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(0); } }

/* Missed-call text-back: phone -> SMS */
.anim-misscall { position: absolute; inset: 0; }
.anim-misscall .phone-icon, .anim-misscall .sms-icon { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 54px; height: 54px; border-radius: 14px; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 1.5rem; }
.anim-misscall .phone-icon { background: rgba(214, 69, 69, 0.25); border: 1px solid rgba(214, 69, 69, 0.5); animation: mc-phone 5s ease infinite; }
.anim-misscall .sms-icon { background: var(--accent); animation: mc-sms 5s ease infinite; opacity: 0; box-shadow: 0 8px 20px rgba(26, 158, 143, 0.35); }
@keyframes mc-phone { 0%, 30% { opacity: 1; transform: translate(-50%, -50%) scale(1); } 45%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(0.85); } }
@keyframes mc-sms { 0%, 40% { opacity: 0; transform: translate(-50%, -50%) scale(0.85); } 55%, 95% { opacity: 1; transform: translate(-50%, -50%) scale(1); } 100% { opacity: 0; } }

/* Review request: stars filling */
.anim-review { display: flex; gap: 8px; align-items: center; justify-content: center; }
.anim-review .star { width: 24px; height: 24px; color: rgba(255,255,255,0.25); fill: currentColor; }
.anim-review .star.on { animation: rv-fill 5s ease infinite; color: var(--accent); }
.anim-review .star:nth-child(1).on { animation-delay: 0s; }
.anim-review .star:nth-child(2).on { animation-delay: 0.25s; }
.anim-review .star:nth-child(3).on { animation-delay: 0.5s; }
.anim-review .star:nth-child(4).on { animation-delay: 0.75s; }
.anim-review .star:nth-child(5).on { animation-delay: 1s; }
@keyframes rv-fill { 0%, 15% { color: rgba(255,255,255,0.25); transform: scale(1); } 25%, 85% { color: var(--accent); transform: scale(1.15); } 95%, 100% { color: var(--accent); transform: scale(1); } }

/* LinkedIn autopost: editor assembles */
.anim-linkedin { width: 72%; padding: 12px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14); border-radius: 10px; display: flex; flex-direction: column; gap: 6px; }
.anim-linkedin .bar { height: 6px; border-radius: 3px; background: rgba(255,255,255,0.12); position: relative; overflow: hidden; }
.anim-linkedin .bar::after { content: ''; position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(0); animation: li-bar 5s ease infinite; }
.anim-linkedin .bar:nth-child(1)::after { animation-delay: 0.1s; }
.anim-linkedin .bar:nth-child(2)::after { animation-delay: 0.5s; }
.anim-linkedin .bar:nth-child(3)::after { animation-delay: 0.9s; width: 70%; }
.anim-linkedin .send { height: 18px; width: 60px; background: var(--accent); border-radius: 999px; opacity: 0; animation: li-send 5s ease infinite; align-self: flex-end; margin-top: 4px; }
@keyframes li-bar { 0%, 10% { transform: scaleX(0); } 40%, 80% { transform: scaleX(1); } 95%, 100% { transform: scaleX(1); opacity: 0.6; } }
@keyframes li-send { 0%, 75% { opacity: 0; transform: translateY(4px); } 85%, 98% { opacity: 1; transform: translateY(0); } }

/* Bank reconciliation: two columns matching */
.anim-bank { display: flex; gap: 20px; align-items: center; justify-content: center; }
.anim-bank .col { display: flex; flex-direction: column; gap: 8px; }
.anim-bank .dot { width: 42px; height: 8px; background: rgba(255,255,255,0.12); border-radius: 4px; animation: bk-match 5s ease infinite; }
.anim-bank .col--left .dot:nth-child(1) { animation-delay: 0.2s; }
.anim-bank .col--left .dot:nth-child(2) { animation-delay: 0.8s; }
.anim-bank .col--left .dot:nth-child(3) { animation-delay: 1.4s; }
.anim-bank .col--right .dot:nth-child(1) { animation-delay: 0.35s; }
.anim-bank .col--right .dot:nth-child(2) { animation-delay: 0.95s; }
.anim-bank .col--right .dot:nth-child(3) { animation-delay: 1.55s; }
@keyframes bk-match { 0%, 15% { background: rgba(255,255,255,0.12); box-shadow: none; } 30%, 90% { background: var(--accent); box-shadow: 0 0 10px rgba(26, 158, 143, 0.5); } 100% { background: rgba(255,255,255,0.12); } }

/* New-client onboarding: folder + docs fan out */
.anim-onboard { position: relative; width: 110px; height: 90px; }
.anim-onboard .doc { position: absolute; width: 38px; height: 48px; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25); border-radius: 4px; left: 50%; top: 50%; transform: translate(-50%, -50%); transform-origin: bottom center; animation: ob-fan 5s ease infinite; }
.anim-onboard .doc:nth-child(1) { --fan-angle: -30deg; animation-delay: 0.1s; }
.anim-onboard .doc:nth-child(2) { --fan-angle: 0deg; animation-delay: 0.3s; background: rgba(26, 158, 143, 0.25); border-color: var(--accent); }
.anim-onboard .doc:nth-child(3) { --fan-angle: 30deg; animation-delay: 0.5s; }
@keyframes ob-fan { 0%, 10% { transform: translate(-50%, -50%) rotate(0deg); opacity: 0; } 25%, 80% { transform: translate(-50%, -50%) rotate(var(--fan-angle)); opacity: 1; } 95%, 100% { transform: translate(-50%, -50%) rotate(0deg); opacity: 0.5; } }

/* Inbox triage: envelope + tags */
.anim-inbox { position: relative; width: 100px; height: 100px; }
.anim-inbox .env { position: absolute; inset: 20% 25% 20% 25%; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.3); border-radius: 6px; }
.anim-inbox .tag { position: absolute; width: 12px; height: 12px; border-radius: 50%; opacity: 0; animation: in-tag 5s ease infinite; }
.anim-inbox .tag--1 { background: var(--accent); top: 10%; right: 10%; animation-delay: 0.3s; }
.anim-inbox .tag--2 { background: rgba(255,255,255,0.6); top: 30%; right: 5%; animation-delay: 0.8s; }
.anim-inbox .tag--3 { background: var(--accent); bottom: 15%; right: 10%; animation-delay: 1.3s; }
@keyframes in-tag { 0%, 15% { opacity: 0; transform: scale(0.5); } 30%, 85% { opacity: 1; transform: scale(1); } 100% { opacity: 0.5; transform: scale(1); } }

/* Reminder pulse (appointment reminders, appointment-esque) */
.anim-pulse { position: relative; width: 80px; height: 80px; }
.anim-pulse .ring { position: absolute; inset: 0; border: 2px solid var(--accent); border-radius: 50%; opacity: 0; animation: pu-ring 3s ease-out infinite; }
.anim-pulse .ring:nth-child(2) { animation-delay: 1s; }
.anim-pulse .ring:nth-child(3) { animation-delay: 2s; }
.anim-pulse .core { position: absolute; inset: 30%; border-radius: 50%; background: var(--accent); box-shadow: 0 0 18px rgba(26, 158, 143, 0.55); }
@keyframes pu-ring { 0% { opacity: 0.8; transform: scale(0.4); } 100% { opacity: 0; transform: scale(1.2); } }

/* Rota: grid cells fill */
.anim-rota { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; width: 100px; }
.anim-rota .cell { aspect-ratio: 1; background: rgba(255,255,255,0.1); border-radius: 3px; animation: rt-fill 5s ease infinite; }
.anim-rota .cell:nth-child(3n) { animation-delay: 0.1s; }
.anim-rota .cell:nth-child(3n+1) { animation-delay: 0.6s; }
.anim-rota .cell:nth-child(3n+2) { animation-delay: 1.1s; }
@keyframes rt-fill { 0%, 15% { background: rgba(255,255,255,0.1); } 30%, 85% { background: var(--accent); } 100% { background: rgba(255,255,255,0.1); } }

/* Chat bubbles — website chatbot, AI reply drafts, review responder, enquiry re-use */
.anim-chat { display: flex; flex-direction: column; gap: 6px; width: 80%; }
.anim-chat .ch { padding: 6px 10px; border-radius: 10px; font-size: 0.7rem; opacity: 0; animation: ch-in 5s ease infinite; max-width: 75%; background: rgba(255,255,255,0.14); color: rgba(255,255,255,0.9); }
.anim-chat .ch--right { align-self: flex-end; background: var(--accent); color: var(--white); }
.anim-chat .ch:nth-child(1) { animation-delay: 0.1s; }
.anim-chat .ch:nth-child(2) { animation-delay: 0.9s; }
.anim-chat .ch:nth-child(3) { animation-delay: 1.6s; }
@keyframes ch-in { 0%, 10% { opacity: 0; transform: translateY(4px); } 25%, 90% { opacity: 1; transform: translateY(0); } 100% { opacity: 0.6; } }

/* Newsletter/digest envelope with lines */
.anim-digest { width: 100px; height: 80px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2); border-radius: 6px; padding: 10px; display: flex; flex-direction: column; gap: 5px; justify-content: center; }
.anim-digest .line { height: 4px; background: rgba(255,255,255,0.25); border-radius: 2px; animation: dg-line 5s ease infinite; }
.anim-digest .line:nth-child(1) { width: 85%; animation-delay: 0s; }
.anim-digest .line:nth-child(2) { width: 60%; animation-delay: 0.25s; }
.anim-digest .line:nth-child(3) { width: 90%; animation-delay: 0.5s; background: var(--accent); }
@keyframes dg-line { 0%, 10% { opacity: 0.25; transform: scaleX(0.3); transform-origin: left; } 40%, 85% { opacity: 1; transform: scaleX(1); } }

/* Social scheduler: three tiles cascade */
.anim-social { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; width: 100px; }
.anim-social .tile { aspect-ratio: 1; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.22); border-radius: 4px; animation: sc-cascade 5s ease infinite; }
.anim-social .tile:nth-child(2) { animation-delay: 0.3s; }
.anim-social .tile:nth-child(3) { animation-delay: 0.6s; background: rgba(26, 158, 143, 0.2); border-color: var(--accent); }
@keyframes sc-cascade { 0%, 10% { opacity: 0; transform: translateY(6px); } 30%, 85% { opacity: 1; transform: translateY(0); } 100% { opacity: 0.5; } }

/* Invoice chaser: timeline of nudges → PAID */
.anim-invoice { position: relative; width: 110px; height: 100px; display: flex; flex-direction: column; justify-content: space-between; padding: 6px 0 6px 4px; }
.anim-invoice .iv-line { position: absolute; left: 12px; top: 16%; bottom: 16%; width: 2px; background: rgba(255,255,255,0.18); }
.anim-invoice .iv-step { display: flex; align-items: center; gap: 8px; opacity: 0.35; transform: translateX(-3px); animation: iv-step 7s ease infinite; }
.anim-invoice .iv-dot { width: 14px; height: 14px; border-radius: 50%; background: rgba(255,255,255,0.18); border: 2px solid rgba(255,255,255,0.4); flex-shrink: 0; z-index: 1; box-sizing: border-box; }
.anim-invoice .iv-label { font-size: 0.65rem; color: rgba(255,255,255,0.7); font-weight: 500; white-space: nowrap; }
.anim-invoice .iv-step--1 { animation-delay: 0.3s; }
.anim-invoice .iv-step--2 { animation-delay: 1.4s; }
.anim-invoice .iv-step--3 { animation-delay: 2.5s; }
.anim-invoice .iv-step--paid { animation-delay: 3.6s; }
.anim-invoice .iv-step--1 .iv-dot { animation: iv-dot 7s ease infinite; animation-delay: 0.3s; }
.anim-invoice .iv-step--2 .iv-dot { animation: iv-dot 7s ease infinite; animation-delay: 1.4s; }
.anim-invoice .iv-step--3 .iv-dot { animation: iv-dot 7s ease infinite; animation-delay: 2.5s; }
.anim-invoice .iv-dot--paid { background: var(--accent); border-color: var(--accent); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 0.55rem; font-weight: 700; box-shadow: 0 0 12px rgba(26,158,143,0.5); }
.anim-invoice .iv-label--paid { color: var(--accent); font-weight: 700; letter-spacing: 0.08em; font-size: 0.7rem; }
@keyframes iv-step { 0%, 5% { opacity: 0.25; transform: translateX(-3px); } 14%, 95% { opacity: 1; transform: translateX(0); } 100% { opacity: 0.25; transform: translateX(-3px); } }
@keyframes iv-dot { 0%, 5% { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.4); } 14%, 95% { background: var(--accent); border-color: var(--accent); } 100% { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.4); } }

/* Quote-to-invoice: arrow flow */
.anim-quote { display: flex; align-items: center; gap: 8px; }
.anim-quote .doc-s { width: 30px; height: 38px; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25); border-radius: 4px; animation: qt-doc 5s ease infinite; }
.anim-quote .arrow { color: var(--accent); font-size: 1.2rem; animation: qt-arrow 5s ease infinite; }
.anim-quote .doc-s:last-child { background: rgba(26, 158, 143, 0.2); border-color: var(--accent); animation-delay: 1s; }
@keyframes qt-doc { 0%, 10% { opacity: 0.4; } 40%, 100% { opacity: 1; } }
@keyframes qt-arrow { 0%, 30% { opacity: 0; transform: translateX(-4px); } 50%, 85% { opacity: 1; transform: translateX(2px); } 100% { opacity: 0.4; } }

/* Clock (contract expiry, reminders, time off, timesheet) */
.anim-clock { width: 80px; height: 80px; border: 2px solid rgba(255,255,255,0.35); border-radius: 50%; position: relative; }
.anim-clock::before, .anim-clock::after { content: ''; position: absolute; left: 50%; top: 50%; background: var(--accent); transform-origin: 0% 50%; border-radius: 1px; }
.anim-clock::before { width: 26px; height: 2px; animation: clk-hour 6s linear infinite; }
.anim-clock::after { width: 32px; height: 2px; animation: clk-min 2s linear infinite; }
@keyframes clk-hour { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes clk-min { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* Receipt / document scan */
.anim-receipt { width: 70px; height: 90px; background: rgba(255,255,255,0.14); border-radius: 4px; position: relative; overflow: hidden; }
.anim-receipt::before { content: ''; position: absolute; left: 0; right: 0; height: 2px; background: var(--accent); box-shadow: 0 0 10px var(--accent); top: 0; animation: rc-scan 3s ease-in-out infinite; }
.anim-receipt .rl { height: 3px; background: rgba(11, 29, 58, 0.5); margin: 8px 10px; border-radius: 2px; }
.anim-receipt .rl--short { width: 40%; }
@keyframes rc-scan { 0%, 100% { top: 0; opacity: 0; } 20% { opacity: 1; } 50% { top: 100%; opacity: 1; } 60% { opacity: 0; } }

/* Meeting notes: waveform */
.anim-wave { display: flex; align-items: center; gap: 3px; height: 40px; }
.anim-wave .w { width: 4px; background: var(--accent); border-radius: 2px; animation: wv-bounce 0.9s ease-in-out infinite; }
.anim-wave .w:nth-child(1) { animation-delay: 0.0s; }
.anim-wave .w:nth-child(2) { animation-delay: 0.1s; }
.anim-wave .w:nth-child(3) { animation-delay: 0.2s; }
.anim-wave .w:nth-child(4) { animation-delay: 0.3s; }
.anim-wave .w:nth-child(5) { animation-delay: 0.4s; }
.anim-wave .w:nth-child(6) { animation-delay: 0.5s; }
.anim-wave .w:nth-child(7) { animation-delay: 0.6s; }
@keyframes wv-bounce { 0%, 100% { height: 8px; } 50% { height: 36px; } }

/* Stock alert triangle */
.anim-alert { width: 70px; height: 60px; position: relative; }
.anim-alert .tri { width: 0; height: 0; border-left: 35px solid transparent; border-right: 35px solid transparent; border-bottom: 60px solid var(--accent); animation: al-pulse 2s ease-in-out infinite; }
.anim-alert .bang { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 8px; color: var(--white); font-weight: 700; font-size: 1rem; }
@keyframes al-pulse { 0%, 100% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(26, 158, 143, 0)); } 50% { transform: scale(1.08); filter: drop-shadow(0 0 12px rgba(26, 158, 143, 0.7)); } }

/* Supplier watcher: bars moving */
.anim-bars { display: flex; align-items: flex-end; gap: 4px; height: 60px; }
.anim-bars .b { width: 10px; background: rgba(255,255,255,0.2); border-radius: 2px 2px 0 0; animation: br-breathe 3.5s ease-in-out infinite; }
.anim-bars .b:nth-child(1) { animation-delay: 0s; }
.anim-bars .b:nth-child(2) { animation-delay: 0.3s; background: var(--accent); }
.anim-bars .b:nth-child(3) { animation-delay: 0.6s; }
.anim-bars .b:nth-child(4) { animation-delay: 0.9s; background: var(--accent); }
.anim-bars .b:nth-child(5) { animation-delay: 1.2s; }
@keyframes br-breathe { 0%, 100% { height: 20%; } 50% { height: 100%; } }

/* Lead capture: form + arrow to CRM */
.anim-lead { display: flex; align-items: center; gap: 6px; }
.anim-lead .form { width: 36px; height: 44px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.25); border-radius: 4px; padding: 4px; display: flex; flex-direction: column; gap: 3px; }
.anim-lead .form .ln { height: 2px; background: rgba(255,255,255,0.35); border-radius: 1px; }
.anim-lead .arrow { color: var(--accent); animation: ld-arrow 3s ease infinite; font-size: 1rem; }
.anim-lead .crm { width: 36px; height: 44px; background: rgba(26, 158, 143, 0.18); border: 1px solid var(--accent); border-radius: 4px; display: flex; align-items: center; justify-content: center; color: var(--white); font-weight: 700; font-size: 0.65rem; }
@keyframes ld-arrow { 0%, 30% { opacity: 0; transform: translateX(-4px); } 50%, 80% { opacity: 1; transform: translateX(2px); } 100% { opacity: 0.4; } }

/* Expense photo: camera flash */
.anim-camera { position: relative; width: 70px; height: 54px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.25); border-radius: 8px; }
.anim-camera::before { content: ''; position: absolute; inset: 18% 30%; border: 2px solid var(--accent); border-radius: 50%; animation: cm-flash 4s ease-in-out infinite; }
@keyframes cm-flash { 0%, 60% { box-shadow: 0 0 0 rgba(26, 158, 143, 0); } 70%, 80% { box-shadow: 0 0 20px rgba(26, 158, 143, 0.8); } }

/* Job-ad: document with sparkle */
.anim-ad { position: relative; width: 60px; height: 78px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.25); border-radius: 4px; padding: 6px; display: flex; flex-direction: column; gap: 4px; }
.anim-ad .ln { height: 3px; background: rgba(255,255,255,0.25); border-radius: 1px; }
.anim-ad .ln:nth-child(2) { width: 70%; }
.anim-ad .ln:nth-child(3) { width: 85%; }
.anim-ad .sp { position: absolute; top: -8px; right: -8px; width: 18px; height: 18px; color: var(--accent); font-size: 1rem; animation: ad-sparkle 2.4s ease-in-out infinite; }
@keyframes ad-sparkle { 0%, 100% { transform: rotate(0deg) scale(0.8); opacity: 0.5; } 50% { transform: rotate(180deg) scale(1.1); opacity: 1; } }

/* ============================================
   Empty state
   ============================================ */

.cat-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 1.5rem;
    color: var(--text-on-dark);
    background: rgba(255, 255, 255, 0.04);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
}

.cat-empty strong {
    color: var(--white);
    display: block;
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.2rem;
}

/* ============================================
   Product detail page
   ============================================ */

.detail-page {
    background: var(--navy-dark);
    background-image:
        radial-gradient(ellipse 1100px 700px at 10% 5%, rgba(26, 158, 143, 0.14), transparent 60%),
        radial-gradient(ellipse 900px 600px at 90% 40%, rgba(19, 45, 84, 0.75), transparent 65%),
        linear-gradient(180deg, var(--navy) 0%, var(--navy-dark) 100%);
    background-attachment: fixed;
    color: var(--white);
    padding-top: 72px;
    min-height: 100vh;
}

.detail-page a { color: var(--white); }

.detail-hero {
    padding: 5rem 0 3rem;
}

.detail-hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

@media (max-width: 820px) {
    .detail-hero__inner { grid-template-columns: 1fr; }
}

.detail-hero__visual {
    aspect-ratio: 1;
    max-width: 420px;
    margin: 0 auto;
    width: 100%;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(26, 158, 143, 0.2), transparent 55%),
        linear-gradient(135deg, rgba(11, 29, 58, 0.7) 0%, rgba(7, 20, 40, 0.85) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl, 24px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.detail-hero__visual .cri { width: 280px; height: 280px; }

.detail-hero__breadcrumb {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1.25rem;
    letter-spacing: 0.02em;
}

.detail-hero__breadcrumb a { color: var(--text-on-dark); }
.detail-hero__breadcrumb a:hover { color: var(--accent); }

.detail-hero__title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 4.2vw, 2.8rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--white);
    margin: 0 0 1.25rem;
}

.detail-hero__description {
    color: var(--text-on-dark);
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0 0 2rem;
    max-width: 52ch;
}

.detail-hero__from {
    margin: 0 0 1.75rem;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    letter-spacing: 0.01em;
}

.detail-hero__from strong {
    color: var(--accent);
    font-weight: 600;
}

.detail-hero__actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.btn-cat {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.85rem 1.75rem;
    border-radius: 999px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

.btn-cat--primary {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
    box-shadow: 0 8px 22px rgba(26, 158, 143, 0.35);
}

.btn-cat--primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(26, 158, 143, 0.45);
    color: var(--white);
}

.btn-cat--ghost {
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-cat--ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* What You Get band */

.detail-get {
    padding: 4rem 0;
}

.detail-get__title, .detail-tiers__title, .detail-demo__title, .detail-cta__title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.5rem, 2.8vw, 1.9rem);
    font-weight: 600;
    color: var(--white);
    margin: 0 0 2rem;
    text-align: center;
    letter-spacing: -0.005em;
}

.detail-get__list {
    max-width: 720px;
    margin: 0 auto;
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 2rem;
}

@media (max-width: 640px) {
    .detail-get__list { grid-template-columns: 1fr; }
}

.detail-get__list li {
    position: relative;
    padding-left: 2rem;
    color: var(--text-on-dark);
    font-size: 0.98rem;
    line-height: 1.6;
}

.detail-get__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 16px;
    height: 9px;
    border-left: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent);
    transform: rotate(-45deg);
}

.detail-get__delivery {
    max-width: 720px;
    margin: 2.5rem auto 0;
    padding: 1.5rem 1.75rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    text-align: center;
    color: var(--text-on-dark);
    font-size: 0.98rem;
}

.detail-get__delivery strong { color: var(--white); }

/* Tier cards */

.detail-tiers {
    padding: 4rem 0;
}

.detail-tiers__intro {
    max-width: 700px;
    margin: 0 auto 2rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 1rem;
    line-height: 1.6;
    text-align: center;
}

.detail-tiers__retainer {
    max-width: 760px;
    margin: 1.75rem auto 0;
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.92rem;
    line-height: 1.65;
    text-align: center;
}

.detail-tiers__retainer strong {
    color: rgba(255, 255, 255, 0.92);
}

.detail-tiers__retainer a {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid rgba(26, 158, 143, 0.32);
}

.detail-tiers__retainer a:hover { color: var(--accent-hover); }

.detail-tiers__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
    max-width: 1000px;
    margin: 0 auto;
}

.detail-tier {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.detail-tier--featured {
    background: rgba(26, 158, 143, 0.08);
    border-color: rgba(26, 158, 143, 0.45);
    box-shadow:
        0 0 0 1px rgba(26, 158, 143, 0.15),
        0 20px 50px rgba(26, 158, 143, 0.12);
}

.detail-tier__tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(26, 158, 143, 0.4);
}

.detail-tier__name {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

.detail-tier--featured .detail-tier__name { color: var(--accent); }

.detail-tier__price {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.detail-tier__price small {
    display: block;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-on-dark);
    margin-top: 0.35rem;
}

.detail-tier__list {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.detail-tier__list li {
    position: relative;
    padding-left: 1.4rem;
    font-size: 0.9rem;
    color: var(--text-on-dark);
    line-height: 1.5;
}

.detail-tier__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 10px;
    height: 5px;
    border-left: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent);
    transform: rotate(-45deg);
}

.detail-tier__cta {
    margin-top: auto;
    padding-top: 1rem;
}

.detail-tier__cta .btn-cat {
    width: 100%;
    justify-content: center;
}

/* Live demo band — framed to look like a real messaging app window */

.detail-demo {
    padding: 4rem 0 4.5rem;
    background:
        radial-gradient(ellipse 1000px 500px at 50% 0%, rgba(26, 158, 143, 0.08), transparent 60%),
        rgba(0, 0, 0, 0.2);
}

.detail-demo__eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(26, 158, 143, 0.12);
    border: 1px solid rgba(26, 158, 143, 0.3);
    padding: 5px 14px;
    border-radius: 999px;
    margin-bottom: 0.9rem;
}

.detail-demo__intro {
    color: var(--text-on-dark);
    margin: 0 auto 2rem;
    font-size: 1rem;
    line-height: 1.6;
    max-width: 60ch;
}

.detail-demo__intro strong {
    color: var(--white);
    font-weight: 600;
}

/* The frame */
.demo-frame {
    max-width: 760px;
    margin: 0 auto;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    backdrop-filter: blur(20px) saturate(1.3);
    -webkit-backdrop-filter: blur(20px) saturate(1.3);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-xl, 24px);
    overflow: hidden;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.12) inset,
        0 24px 60px rgba(0, 0, 0, 0.4);
}

/* Chrome — looks like a browser/app window header */
.demo-frame__chrome {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1.1rem;
    background: rgba(11, 29, 58, 0.6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.demo-frame__dots {
    display: flex;
    gap: 0.4rem;
    flex-shrink: 0;
}

.demo-frame__dots span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.demo-frame__dots span:nth-child(1) { background: rgba(255, 95, 86, 0.6); }
.demo-frame__dots span:nth-child(2) { background: rgba(255, 189, 46, 0.6); }
.demo-frame__dots span:nth-child(3) { background: rgba(39, 201, 63, 0.6); }

.demo-frame__biz {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex: 1;
    min-width: 0;
}

.demo-frame__biz-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), rgba(26, 158, 143, 0.6));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.78rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(26, 158, 143, 0.3);
}

.demo-frame__biz-name {
    font-weight: 600;
    color: var(--white);
    font-size: 0.92rem;
    line-height: 1.2;
}

.demo-frame__biz-status {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 2px;
}

.demo-frame__pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #27C93F;
    box-shadow: 0 0 0 0 rgba(39, 201, 63, 0.7);
    animation: demo-pulse 2s ease-in-out infinite;
}

@keyframes demo-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(39, 201, 63, 0.7); }
    50% { box-shadow: 0 0 0 6px rgba(39, 201, 63, 0); }
}

.demo-frame__channel {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.7rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    flex-shrink: 0;
}

/* Example prompt pills */
.demo-frame__prompts {
    padding: 0.9rem 1.1rem;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.demo-frame__prompts-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 0.6rem;
}

.demo-frame__prompts-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.demo-prompt {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    padding: 0.42rem 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    cursor: pointer;
    transition: transform var(--transition), background var(--transition), border-color var(--transition), color var(--transition);
}

.demo-prompt:hover {
    background: rgba(26, 158, 143, 0.18);
    border-color: rgba(26, 158, 143, 0.5);
    color: var(--white);
    transform: translateY(-1px);
}

.demo-prompt:active {
    transform: translateY(0);
}

/* Stage — where the widget actually mounts */
.demo-frame__stage {
    padding: 1rem 1rem 1rem;
    background:
        radial-gradient(ellipse 600px 300px at 50% 0%, rgba(26, 158, 143, 0.05), transparent 70%),
        rgba(255, 255, 255, 0.02);
}

.demo-frame__stage .cr-demo-widget {
    min-height: 420px;
}

/* Foot — gentle reminder this is a demo */
.demo-frame__foot {
    padding: 0.75rem 1.1rem;
    background: rgba(0, 0, 0, 0.18);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.55);
    text-align: center;
}

.demo-frame__foot em {
    color: var(--accent);
    font-style: normal;
    font-weight: 600;
}

@media (max-width: 600px) {
    .demo-frame__chrome { flex-wrap: wrap; gap: 0.7rem; padding: 0.7rem 0.9rem; }
    .demo-frame__channel { order: 3; }
    .demo-frame__prompts { padding: 0.75rem 0.9rem; }
    .demo-frame__stage { padding: 0.75rem; }
    .demo-prompt { font-size: 0.78rem; padding: 0.38rem 0.75rem; }
}

/* Final CTA */

.detail-cta {
    padding: 5rem 0 6rem;
    text-align: center;
}

.detail-cta__sub {
    color: var(--text-on-dark);
    max-width: 560px;
    margin: 0 auto 2rem;
    font-size: 1rem;
    line-height: 1.65;
}

/* ============================================
   Homepage showcase — three featured automations
   ============================================
   Sits between the navy "How It Works" section above and the white
   "Pricing" section below. Pale off-white background so the cards lift
   off the page. Each card: catalogue icon + name on top, a 3-step
   timeline running down the left of the body, and a purpose-built
   mini-demo on the right. Three visually distinct demos: a chat
   exchange (Enquiry Bot), an SMS + 5-star cascade (Review Request),
   and a missed-call -> SMS reply (Missed-Call Text-Back). */

.section--showcase {
    background: var(--off-white);
    background-image:
        radial-gradient(ellipse 900px 500px at 50% -5%, rgba(26, 158, 143, 0.07), transparent 60%),
        radial-gradient(ellipse 700px 500px at 100% 100%, rgba(11, 29, 58, 0.03), transparent 60%);
    padding: 5.5rem 0 6rem;
    color: var(--text);
    position: relative;
    overflow: hidden;
}

.section--showcase .container {
    position: relative;
    z-index: 1;
}

.showcase__header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3rem;
}

.showcase__eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--accent-light);
    padding: 5px 14px;
    border-radius: 999px;
    margin-bottom: 1.25rem;
}

.showcase__title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.9rem, 3.4vw, 2.6rem);
    font-weight: 600;
    color: var(--text);
    line-height: 1.2;
    margin: 0 0 0.85rem;
    letter-spacing: -0.01em;
}

.showcase__subtitle {
    font-size: 1.02rem;
    color: var(--text-light);
    line-height: 1.6;
    max-width: 580px;
    margin: 0 auto;
}

/* ---------- Card grid ---------- */

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
    max-width: 1160px;
    margin: 0 auto 3rem;
}

@media (max-width: 980px) {
    .showcase-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        gap: 1.2rem;
    }
}

.showcase-card {
    background: var(--white);
    border: 1px solid var(--light-grey);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 280ms cubic-bezier(0.2, 0.8, 0.2, 1),
                box-shadow 280ms cubic-bezier(0.2, 0.8, 0.2, 1),
                border-color 240ms ease;
    box-shadow: var(--shadow-sm);
}

.showcase-card:hover {
    transform: translateY(-3px);
    border-color: rgba(26, 158, 143, 0.28);
    box-shadow: var(--shadow-lg);
    color: inherit;
}

/* ---------- Card head: icon above name ---------- */

.showcase-card__head {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.55rem;
    padding: 1.6rem 1.4rem 1.05rem;
    border-bottom: 1px solid var(--light-grey);
}

.showcase-card__icon {
    width: 54px;
    height: 54px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-light);
    border-radius: 14px;
    color: var(--accent);
}

.showcase-card__icon svg {
    width: 36px;
    height: 36px;
}

/* Override the default .cri-* icon palette (white-on-dark in catalogue.css)
   so icons remain visible on the light card background. */
.showcase-card__icon .cri-stroke { stroke: var(--accent); }
.showcase-card__icon .cri-fill-accent { fill: var(--accent); }
.showcase-card__icon .cri-fill-soft { fill: rgba(26, 158, 143, 0.16); }
.showcase-card__icon .cri-accent { stroke: var(--accent); }

.showcase-card__name {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.25;
    margin: 0;
    letter-spacing: -0.005em;
}

/* ---------- Card stage: dominant demo area ---------- */

.showcase-card__stage {
    flex: 1;
    background: linear-gradient(180deg, #F4F6FA 0%, #E9EDF3 100%);
    padding: 1.6rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--light-grey);
    min-height: 320px;
}

.showcase-card__caption {
    padding: 1rem 1.4rem 0.5rem;
    margin: 0;
    text-align: center;
    font-size: 0.88rem;
    line-height: 1.45;
    color: var(--text-light);
}

/* ---------- Card footer CTA ---------- */

.showcase-card__cta {
    padding: 0.85rem 1.4rem 1rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    letter-spacing: 0.005em;
}

.sc-arrow {
    transition: transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
    font-weight: 600;
    display: inline-block;
}

.showcase-card:hover .sc-arrow {
    transform: translateX(5px);
}

/* ============================================
   Mockup 1 — WhatsApp-style chat (Enquiry Bot)
   ============================================ */

.mock-wa {
    width: 100%;
    max-width: 290px;
    background: #ECE5DD;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(11, 29, 58, 0.18), 0 2px 4px rgba(11, 29, 58, 0.06);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.mock-wa__bar {
    background: #075E54;
    color: #fff;
    padding: 0.55rem 0.7rem;
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.mock-wa__avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mock-wa__head {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    min-width: 0;
}

.mock-wa__name {
    font-size: 0.82rem;
    font-weight: 600;
    color: #fff;
}

.mock-wa__status {
    font-size: 0.66rem;
    color: rgba(255, 255, 255, 0.78);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.mock-wa__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #25D366;
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    animation: mock-wa-pulse 2.4s ease-in-out infinite;
}

@keyframes mock-wa-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    50% { box-shadow: 0 0 0 5px rgba(37, 211, 102, 0); }
}

.mock-wa__body {
    padding: 0.65rem 0.55rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    background: #ECE5DD;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.35) 0%, transparent 35%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.25) 0%, transparent 35%);
}

.mock-wa__msg {
    max-width: 86%;
    padding: 0.42rem 0.6rem 0.32rem;
    border-radius: 7px;
    font-size: 0.76rem;
    line-height: 1.35;
    color: #111;
    box-shadow: 0 1px 0.5px rgba(0, 0, 0, 0.13);
    position: relative;
}

.mock-wa__msg--in {
    background: #fff;
    align-self: flex-start;
    border-top-left-radius: 0;
    opacity: 0;
    animation: mock-wa-msg-in 16s ease-out infinite;
}

.mock-wa__typing {
    align-self: flex-start;
    background: #fff;
    padding: 0.42rem 0.6rem;
    border-radius: 7px;
    border-top-left-radius: 0;
    box-shadow: 0 1px 0.5px rgba(0, 0, 0, 0.13);
    display: inline-flex;
    gap: 4px;
    width: max-content;
    opacity: 0;
    animation: mock-wa-typing 16s ease-out infinite;
}

.mock-wa__typing span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #9CA3AF;
    animation: mock-wa-typing-dot 1.3s ease-in-out infinite;
}

.mock-wa__typing span:nth-child(2) { animation-delay: 0.2s; }
.mock-wa__typing span:nth-child(3) { animation-delay: 0.4s; }

.mock-wa__msg--out {
    background: #DCF8C6;
    align-self: flex-end;
    border-top-right-radius: 0;
    opacity: 0;
    animation: mock-wa-msg-out 16s ease-out infinite;
}

@keyframes mock-wa-msg-in {
    0%, 2% { opacity: 0; }
    7%, 94% { opacity: 1; }
    99%, 100% { opacity: 0; }
}

@keyframes mock-wa-typing {
    0%, 10% { opacity: 0; }
    15%, 22% { opacity: 1; }
    27%, 100% { opacity: 0; }
}

@keyframes mock-wa-typing-dot {
    0%, 60%, 100% { opacity: 0.4; transform: translateY(0); }
    30% { opacity: 1; transform: translateY(-2.5px); }
}

@keyframes mock-wa-msg-out {
    0%, 22% { opacity: 0; }
    28%, 94% { opacity: 1; }
    99%, 100% { opacity: 0; }
}

.mock-wa__text {
    display: block;
}

.mock-wa__time {
    display: block;
    text-align: right;
    font-size: 0.6rem;
    color: rgba(0, 0, 0, 0.45);
    margin-top: 1px;
}

.mock-wa__tag {
    background: #fff;
    border-top: 1px solid #D9D2C7;
    padding: 0.42rem 0.7rem;
    font-size: 0.66rem;
    color: var(--accent);
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.01em;
    opacity: 0;
    animation: mock-wa-tag 16s ease-out infinite;
}

@keyframes mock-wa-tag {
    0%, 30% { opacity: 0; }
    36%, 94% { opacity: 1; }
    99%, 100% { opacity: 0; }
}

/* ============================================
   Mockup 2 — Google review card
   ============================================ */

.mock-gr {
    width: 100%;
    max-width: 290px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #DADCE0;
    box-shadow: 0 10px 28px rgba(11, 29, 58, 0.14), 0 2px 4px rgba(11, 29, 58, 0.05);
    padding: 0.95rem 1rem 0.85rem;
    font-family: 'Google Sans', -apple-system, BlinkMacSystemFont, Roboto, 'Segoe UI', sans-serif;
    position: relative;
}

.mock-gr__ping {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: var(--accent);
    color: #fff;
    padding: 0.5rem 0.9rem;
    border-top-left-radius: 11px;
    border-top-right-radius: 11px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    opacity: 0;
    animation: mock-gr-ping 16s ease-out infinite;
}

.mock-gr__ping-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.6);
    animation: mock-gr-ping-dot 1.6s ease-out infinite;
}

@keyframes mock-gr-ping {
    0%, 1% { opacity: 0; }
    5%, 16% { opacity: 1; }
    22%, 100% { opacity: 0; }
}

@keyframes mock-gr-ping-dot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.55); }
    50% { box-shadow: 0 0 0 6px rgba(255, 255, 255, 0); }
}

.mock-gr__head {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding-bottom: 0.7rem;
    border-bottom: 1px solid #E8EAED;
    margin-bottom: 0.75rem;
    opacity: 0;
    animation: mock-gr-head 16s ease-out infinite;
}

@keyframes mock-gr-head {
    0%, 20% { opacity: 0; }
    26%, 94% { opacity: 1; }
    99%, 100% { opacity: 0; }
}

.mock-gr__logo {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.mock-gr__title {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    flex: 1;
    min-width: 0;
}

.mock-gr__label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #202124;
}

.mock-gr__time {
    font-size: 0.66rem;
    color: #5F6368;
}

.mock-gr__reviewer {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
    opacity: 0;
    animation: mock-gr-reviewer 16s ease-out infinite;
}

@keyframes mock-gr-reviewer {
    0%, 26% { opacity: 0; }
    32%, 94% { opacity: 1; }
    99%, 100% { opacity: 0; }
}

.mock-gr__avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF6F61 0%, #C7472D 100%);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mock-gr__meta {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.mock-gr__name {
    font-size: 0.82rem;
    font-weight: 600;
    color: #202124;
}

.mock-gr__stars {
    display: flex;
    gap: 1px;
    margin-top: 2px;
}

.mock-gr__stars svg {
    width: 14px;
    height: 14px;
    fill: #E0E5EC;
    animation: mock-gr-star 16s ease-out infinite;
    transform-origin: center;
}

.mock-gr__stars svg:nth-child(1) { animation-delay: 0s; }
.mock-gr__stars svg:nth-child(2) { animation-delay: 0.15s; }
.mock-gr__stars svg:nth-child(3) { animation-delay: 0.3s; }
.mock-gr__stars svg:nth-child(4) { animation-delay: 0.45s; }
.mock-gr__stars svg:nth-child(5) { animation-delay: 0.6s; }

@keyframes mock-gr-star {
    0%, 30% { fill: #E0E5EC; transform: scale(1); }
    34% { fill: #FBBC04; transform: scale(1.25); }
    38%, 94% { fill: #FBBC04; transform: scale(1); }
    99%, 100% { fill: #E0E5EC; transform: scale(1); }
}

.mock-gr__quote {
    font-size: 0.78rem;
    line-height: 1.45;
    color: #3C4043;
    margin: 0 0 0.7rem;
    font-style: italic;
    opacity: 0;
    animation: mock-gr-quote 16s ease-out infinite;
}

@keyframes mock-gr-quote {
    0%, 34% { opacity: 0; }
    40%, 94% { opacity: 1; }
    99%, 100% { opacity: 0; }
}

.mock-gr__tag {
    border-top: 1px solid #E8EAED;
    padding-top: 0.55rem;
    font-size: 0.66rem;
    color: var(--accent);
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.01em;
    opacity: 0;
    animation: mock-gr-tag 16s ease-out infinite;
}

@keyframes mock-gr-tag {
    0%, 38% { opacity: 0; }
    44%, 94% { opacity: 1; }
    99%, 100% { opacity: 0; }
}

/* ============================================
   Mockup 3 — iPhone lock-screen notification stack
   ============================================ */

.mock-lock {
    width: 100%;
    max-width: 290px;
    background: linear-gradient(160deg, #2C3E50 0%, #1A1F2E 100%);
    border-radius: 18px;
    padding: 0.85rem 0.75rem 0.75rem;
    box-shadow: 0 12px 32px rgba(11, 29, 58, 0.32), 0 2px 6px rgba(11, 29, 58, 0.18);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.mock-lock__time {
    text-align: center;
    color: #fff;
    margin-bottom: 0.85rem;
}

.mock-lock__hour {
    display: block;
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: -0.02em;
    line-height: 1.05;
}

.mock-lock__date {
    display: block;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.72);
    font-weight: 500;
    margin-top: 1px;
}

.mock-lock__notif {
    background: rgba(255, 255, 255, 0.18);
    border-radius: 11px;
    padding: 0.5rem 0.6rem;
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.45rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    opacity: 0;
}

.mock-lock__notif--miss {
    animation: mock-lock-miss 16s ease-out infinite;
}

.mock-lock__notif--sms {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.1);
    animation: mock-lock-sms 16s ease-out infinite;
}

@keyframes mock-lock-miss {
    0%, 2% { opacity: 0; }
    8%, 20% { opacity: 1; }
    26%, 94% { opacity: 0.55; }
    99%, 100% { opacity: 0; }
}

@keyframes mock-lock-sms {
    0%, 20% { opacity: 0; }
    28%, 94% { opacity: 1; }
    99%, 100% { opacity: 0; }
}

.mock-lock__icon {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mock-lock__icon svg {
    width: 14px;
    height: 14px;
}

.mock-lock__icon--phone { background: #34C759; }
.mock-lock__icon--sms { background: var(--accent); }

.mock-lock__content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.mock-lock__top {
    display: flex;
    justify-content: space-between;
    font-size: 0.62rem;
    color: rgba(255, 255, 255, 0.65);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 600;
    margin-bottom: 1px;
}

.mock-lock__app {
    color: rgba(255, 255, 255, 0.72);
}

.mock-lock__when {
    color: rgba(255, 255, 255, 0.55);
}

.mock-lock__title {
    font-size: 0.76rem;
    font-weight: 600;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mock-lock__body {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: 1px;
}

.mock-lock__tag {
    margin-top: 0.55rem;
    text-align: center;
    font-size: 0.66rem;
    color: #6FE8C7;
    font-weight: 600;
    letter-spacing: 0.01em;
    opacity: 0;
    animation: mock-lock-tag 16s ease-out infinite;
}

@keyframes mock-lock-tag {
    0%, 32% { opacity: 0; }
    38%, 94% { opacity: 1; }
    99%, 100% { opacity: 0; }
}

/* ---------- Section footer CTA ---------- */

.showcase__footer {
    text-align: center;
}

.showcase__footer .btn {
    font-size: 1rem;
    padding: 0.95rem 1.85rem;
}

.showcase__footer-sub {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 1.1rem auto 0;
    max-width: 560px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .cat-card, .showcase-card { transition: none; }
    .cat-card__icon, .cat-card__anim { transition: none; }
    .cat-card *, .cat-card *::before, .cat-card *::after,
    .detail-hero__visual *, .detail-hero__visual *::before, .detail-hero__visual *::after,
    .showcase-card *, .showcase-card *::before, .showcase-card *::after {
        animation: none !important;
    }
}

@media (max-width: 600px) {
    .cat-hero { padding: 3rem 0 2rem; }
    .cat-grid-wrap { padding: 1.5rem 0 4rem; }
    .detail-hero { padding: 3rem 0 2rem; }
    .detail-hero__visual { max-width: 280px; }
}

/* ============================================
   Detail-page: How it works + Connects + Wins
   ============================================ */

.detail-how,
.detail-connects,
.detail-wins {
    padding: 3rem 0;
}

.detail-how__title,
.detail-connects__title,
.detail-wins__title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    font-weight: 600;
    color: var(--white);
    margin: 0 0 0.75rem;
    letter-spacing: -0.01em;
}

.detail-how__intro,
.detail-connects__intro {
    color: var(--text-on-dark);
    font-size: 1rem;
    line-height: 1.65;
    max-width: 60ch;
    margin: 0 0 2rem;
}

/* Workflow steps */

.detail-how__steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    counter-reset: step;
}

.detail-step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.25rem;
    align-items: start;
    padding: 1.4rem 1.6rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
    backdrop-filter: blur(16px) saturate(1.3);
    -webkit-backdrop-filter: blur(16px) saturate(1.3);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-lg);
    transition: border-color var(--transition), transform var(--transition);
}

.detail-step:hover {
    border-color: rgba(26, 158, 143, 0.4);
    transform: translateX(4px);
}

.detail-step__num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(26, 158, 143, 0.18);
    border: 1px solid rgba(26, 158, 143, 0.45);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.05rem;
    font-family: 'Playfair Display', Georgia, serif;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(26, 158, 143, 0.18);
}

.detail-step__title {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--white);
    margin: 0 0 0.35rem;
    line-height: 1.35;
}

.detail-step__body p {
    color: var(--text-on-dark);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.detail-step__body em {
    color: var(--accent);
    font-style: normal;
    font-weight: 600;
}

/* Integrations / connects chips */

.detail-connects__group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.detail-connects__group:last-child { margin-bottom: 0; }

.detail-connects__label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

.detail-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.detail-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.95rem;
    font-size: 0.88rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    transition: border-color var(--transition), background var(--transition);
}

.detail-chip:hover {
    border-color: rgba(26, 158, 143, 0.5);
    background: rgba(26, 158, 143, 0.12);
}

/* Typical wins */

.detail-wins__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.detail-wins__list li {
    position: relative;
    padding: 1.1rem 1.3rem 1.1rem 3rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    color: var(--text-on-dark);
    font-size: 0.95rem;
    line-height: 1.5;
}

.detail-wins__list li::before {
    content: '';
    position: absolute;
    left: 1.1rem;
    top: 1.35rem;
    width: 14px;
    height: 8px;
    border-left: 2.5px solid var(--accent);
    border-bottom: 2.5px solid var(--accent);
    transform: rotate(-45deg);
}

.detail-wins__list strong {
    color: var(--white);
    display: block;
    font-weight: 600;
    margin-bottom: 0.15rem;
}

@media (max-width: 600px) {
    .detail-step { padding: 1.1rem 1.2rem; gap: 0.9rem; }
    .detail-step__num { width: 34px; height: 34px; font-size: 0.95rem; }
    .detail-wins__list li { padding: 0.95rem 1.1rem 0.95rem 2.6rem; }
    .detail-wins__list li::before { left: 0.95rem; top: 1.2rem; }
}

/* ============================================
   Detail-page: Example workflow (Relay-style)
   A rail on the left with numbered tool-icons,
   and glass step cards on the right showing
   what each step does + which tools it uses.
   ============================================ */

.detail-flow {
    padding: 3rem 0;
}

.detail-flow__title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    font-weight: 600;
    color: var(--white);
    margin: 0 0 0.75rem;
    letter-spacing: -0.01em;
}

.detail-flow__intro {
    color: var(--text-on-dark);
    font-size: 1rem;
    line-height: 1.65;
    max-width: 62ch;
    margin: 0 0 2.25rem;
}

.detail-flow__note {
    margin: 1.75rem 0 0;
    padding: 0.9rem 1.1rem;
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--text-on-dark);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--accent);
}

.detail-flow__note strong { color: var(--white); }

.detail-flow__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Step row: rail + card side by side */
.flow-step {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 1rem;
    align-items: stretch;
    position: relative;
}

/* Rail: numbered icon tile + vertical connector */
.flow-step__rail {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 1.1rem;
}

/* Vertical line connecting steps */
.flow-step:not(:last-child) .flow-step__rail::after {
    content: '';
    position: absolute;
    top: 72px;
    bottom: -16px;
    left: 50%;
    width: 2px;
    background: linear-gradient(180deg, rgba(26, 158, 143, 0.35) 0%, rgba(26, 158, 143, 0.12) 100%);
    transform: translateX(-50%);
}

.flow-step__num {
    position: absolute;
    top: 2px;
    left: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(12, 28, 54, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
    z-index: 2;
}

.flow-step__icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.06) 100%);
    backdrop-filter: blur(14px) saturate(1.3);
    -webkit-backdrop-filter: blur(14px) saturate(1.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    margin-top: 12px;
}

.flow-step__icon svg {
    width: 60%;
    height: 60%;
    overflow: visible;
}

.flow-ico-stroke {
    stroke: rgba(255, 255, 255, 0.88);
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.flow-ico-stroke-thin {
    stroke: rgba(255, 255, 255, 0.7);
    stroke-width: 1.6;
    fill: none;
}

.flow-ico-fill { fill: rgba(255, 255, 255, 0.85); }
.flow-ico-fill-accent { fill: var(--accent); }
.flow-ico-accent {
    stroke: var(--accent);
    stroke-width: 2.2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Step card (div — content always visible; wrapped in master disclosure) */
.flow-step__card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(18px) saturate(1.3);
    -webkit-backdrop-filter: blur(18px) saturate(1.3);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-lg);
    padding: 1.1rem 1.25rem 1.2rem;
    margin-bottom: 0.9rem;
    transition: border-color var(--transition), transform var(--transition);
}

.flow-step__card:hover {
    border-color: rgba(26, 158, 143, 0.4);
    transform: translateX(3px);
}

.flow-step__card--tier-gated {
    background: linear-gradient(180deg, rgba(212, 175, 122, 0.1) 0%, rgba(255, 255, 255, 0.04) 100%);
    border-color: rgba(212, 175, 122, 0.35);
}

.flow-step__head {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.55rem;
    flex-wrap: wrap;
}

.flow-step__title {
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin: 0;
    line-height: 1.35;
    flex: 1;
    min-width: 0;
}

/* ============================================
   Master disclosure — wraps the entire workflow
   (steps + integrations + note) behind one toggle
   ============================================ */

.flow-disclosure {
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.03) 100%);
    backdrop-filter: blur(16px) saturate(1.2);
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
    overflow: hidden;
    transition: border-color var(--transition), background var(--transition);
}

.flow-disclosure[open] {
    border-color: rgba(26, 158, 143, 0.4);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
}

.flow-disclosure__summary {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1.5rem;
    cursor: pointer;
    user-select: none;
    transition: background var(--transition);
}

.flow-disclosure__summary::-webkit-details-marker { display: none; }
.flow-disclosure__summary::marker { content: ''; }

.flow-disclosure__summary:hover {
    background: rgba(26, 158, 143, 0.06);
}

.flow-disclosure__summary:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: -2px;
    border-radius: var(--radius-lg);
}

.flow-disclosure__text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.flow-disclosure__eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
}

.flow-disclosure__action {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1.3;
}

.flow-disclosure[open] .flow-disclosure__action::after {
    content: ' \2014 click to hide';
    color: rgba(255, 255, 255, 0.45);
    font-weight: 400;
}

.flow-disclosure__chev {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.16);
    flex-shrink: 0;
    transition: transform 280ms cubic-bezier(0.2, 0.8, 0.2, 1), color var(--transition), background var(--transition), border-color var(--transition);
}

.flow-disclosure[open] .flow-disclosure__chev {
    transform: rotate(180deg);
    color: var(--accent);
    background: rgba(26, 158, 143, 0.15);
    border-color: rgba(26, 158, 143, 0.4);
}

.flow-disclosure__body {
    padding: 0.5rem 1.5rem 1.75rem;
    animation: flow-disclosure-reveal 320ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes flow-disclosure-reveal {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Integrations block inside the disclosure body */
.flow-disclosure__connects {
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.flow-disclosure__connects-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin: 0 0 1.1rem;
    letter-spacing: 0.01em;
}

.flow-step__trigger {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(26, 158, 143, 0.14);
    border: 1px solid rgba(26, 158, 143, 0.3);
    border-radius: 999px;
}

.flow-step__trigger--process {
    color: rgba(165, 184, 224, 0.95);
    background: rgba(165, 184, 224, 0.14);
    border-color: rgba(165, 184, 224, 0.3);
}

.flow-step__trigger--action {
    color: rgba(143, 201, 168, 0.95);
    background: rgba(143, 201, 168, 0.14);
    border-color: rgba(143, 201, 168, 0.3);
}

.flow-step__trigger--tier {
    color: rgba(212, 175, 122, 1);
    background: rgba(212, 175, 122, 0.14);
    border-color: rgba(212, 175, 122, 0.35);
}

.flow-step__desc {
    color: var(--text-on-dark);
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0 0 0.8rem;
}

.flow-step__desc em {
    color: var(--accent);
    font-style: normal;
    font-weight: 600;
}

.flow-step__tools {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.flow-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.32rem 0.75rem;
    font-size: 0.78rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.82);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    line-height: 1.3;
}

.flow-chip em {
    font-style: normal;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 2px 7px;
    border-radius: 999px;
    color: var(--accent);
    background: rgba(26, 158, 143, 0.15);
    border: 1px solid rgba(26, 158, 143, 0.32);
}

@media (max-width: 600px) {
    .flow-step { grid-template-columns: 56px 1fr; gap: 0.75rem; }
    .flow-step__icon { width: 44px; height: 44px; border-radius: 12px; }
    .flow-step__num { width: 20px; height: 20px; font-size: 0.65rem; }
    .flow-step__summary { padding: 0.75rem 1rem; gap: 0.5rem; }
    .flow-step__body { padding: 0 1rem 1rem; }
    .flow-step__title { font-size: 0.92rem; }
    .flow-step__desc { font-size: 0.88rem; }
    .flow-step__chev { width: 26px; height: 26px; }
    .flow-chip { font-size: 0.74rem; padding: 0.3rem 0.65rem; }
    .flow-step:not(:last-child) .flow-step__rail::after { top: 56px; }
}

/* Google review responder: stars row + reply being drafted */
.anim-review-reply { display: flex; flex-direction: column; gap: 10px; align-items: center; }
.anim-review-reply .rr-stars { display: flex; gap: 4px; }
.anim-review-reply .rr-st { color: rgba(255,255,255,0.25); font-size: 0.95rem; line-height: 1; animation: rrs-fill 5s ease infinite; }
.anim-review-reply .rr-st:nth-child(1) { animation-delay: 0s; }
.anim-review-reply .rr-st:nth-child(2) { animation-delay: 0.15s; }
.anim-review-reply .rr-st:nth-child(3) { animation-delay: 0.3s; }
.anim-review-reply .rr-st:nth-child(4) { animation-delay: 0.45s; }
.anim-review-reply .rr-st:nth-child(5) { animation-delay: 0.6s; }
.anim-review-reply .rr-reply { background: var(--accent); border-radius: 14px 14px 14px 4px; padding: 8px 12px; display: flex; gap: 4px; opacity: 0; animation: rrs-bubble 5s ease infinite; box-shadow: 0 4px 12px rgba(26,158,143,0.35); }
.anim-review-reply .rr-dot { width: 6px; height: 6px; background: var(--white); border-radius: 50%; opacity: 0.85; animation: rrs-dot 1.2s ease infinite; }
.anim-review-reply .rr-dot:nth-child(2) { animation-delay: 0.2s; }
.anim-review-reply .rr-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes rrs-fill { 0%, 10% { color: rgba(255,255,255,0.25); transform: scale(1); } 25%, 90% { color: var(--accent); transform: scale(1.2); } 100% { color: var(--accent); transform: scale(1); } }
@keyframes rrs-bubble { 0%, 50% { opacity: 0; transform: translateY(6px); } 70%, 95% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; } }
@keyframes rrs-dot { 0%, 100% { transform: translateY(0); opacity: 0.4; } 50% { transform: translateY(-3px); opacity: 1; } }

/* Customer milestone: calendar with confetti burst on the day */
.anim-milestone { position: relative; width: 90px; height: 90px; display: flex; align-items: center; justify-content: center; }
.anim-milestone .ms-cal { width: 60px; height: 60px; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.3); border-radius: 6px; position: relative; display: flex; align-items: center; justify-content: center; }
.anim-milestone .ms-cal::before { content: ''; position: absolute; left: 0; right: 0; top: 12px; height: 1px; background: rgba(255,255,255,0.25); }
.anim-milestone .ms-day { width: 16px; height: 16px; background: var(--accent); border-radius: 3px; box-shadow: 0 0 12px rgba(26,158,143,0.5); animation: ms-pop 5s ease infinite; }
.anim-milestone .ms-conf { position: absolute; width: 6px; height: 6px; border-radius: 50%; opacity: 0; animation: ms-burst 5s ease infinite; }
.anim-milestone .ms-c1 { background: var(--accent); top: 10%; left: 20%; --dx: -18px; --dy: -16px; animation-delay: 0.4s; }
.anim-milestone .ms-c2 { background: rgba(255,255,255,0.85); top: 12%; right: 18%; --dx: 16px; --dy: -18px; animation-delay: 0.5s; }
.anim-milestone .ms-c3 { background: var(--accent); bottom: 14%; left: 14%; --dx: -22px; --dy: 14px; animation-delay: 0.6s; }
.anim-milestone .ms-c4 { background: rgba(255,255,255,0.85); bottom: 12%; right: 16%; --dx: 18px; --dy: 16px; animation-delay: 0.7s; }
.anim-milestone .ms-c5 { background: var(--accent); top: 50%; right: 6%; --dx: 22px; --dy: 0; animation-delay: 0.55s; }
@keyframes ms-pop { 0%, 25% { transform: scale(0.7); opacity: 0.4; } 40%, 90% { transform: scale(1.1); opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
@keyframes ms-burst { 0%, 35% { opacity: 0; transform: translate(0, 0) scale(0.5); } 45%, 80% { opacity: 1; transform: translate(var(--dx), var(--dy)) scale(1); } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(0.6); } }

/* MTD-ITSA bundle: transaction rows stack into a packet */
.anim-bundle { position: relative; width: 100px; height: 80px; }
.anim-bundle .bd-row { position: absolute; left: 0; right: 0; height: 8px; background: rgba(255,255,255,0.18); border-radius: 3px; opacity: 0; animation: bd-row 5s ease infinite; }
.anim-bundle .bd-row:nth-child(1) { top: 10%; animation-delay: 0.1s; }
.anim-bundle .bd-row:nth-child(2) { top: 28%; animation-delay: 0.3s; }
.anim-bundle .bd-row:nth-child(3) { top: 46%; animation-delay: 0.5s; }
.anim-bundle .bd-row:nth-child(4) { top: 64%; animation-delay: 0.7s; }
.anim-bundle .bd-pack { position: absolute; inset: 18% 22% 14% 22%; background: rgba(26,158,143,0.18); border: 2px solid var(--accent); border-radius: 6px; opacity: 0; animation: bd-pack 5s ease infinite; }
.anim-bundle .bd-pack::before { content: '✓'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: var(--white); font-weight: 700; font-size: 1.2rem; }
@keyframes bd-row { 0%, 5% { opacity: 0; transform: translateX(-12px); } 20%, 65% { opacity: 1; transform: translateX(0); } 75%, 100% { opacity: 0.3; transform: translateX(0); } }
@keyframes bd-pack { 0%, 70% { opacity: 0; transform: scale(0.85); } 80%, 95% { opacity: 1; transform: scale(1); } 100% { opacity: 0; } }

/* ============================================
   Recommended sector stacks
   ============================================ */

.cat-stacks {
    display: flex;
    flex-direction: column;
    margin-bottom: 3rem;
    width: 100%;
}

.cat-stacks__head {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin: 0 0 1.25rem;
    text-align: center;
    align-items: center;
    padding: 0 1rem;
}

.cat-stacks__eyebrow {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.cat-stacks__title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 600;
    color: var(--white);
    letter-spacing: -0.015em;
    margin: 0;
    line-height: 1.05;
}

.cat-stacks__blurb {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.68);
    max-width: 60ch;
}

.cat-stacks__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.25rem;
}

.stack-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.4rem 1.5rem 1.5rem;
    background: linear-gradient(180deg, rgba(26, 158, 143, 0.14) 0%, rgba(255, 255, 255, 0.06) 100%);
    backdrop-filter: blur(22px) saturate(1.4);
    -webkit-backdrop-filter: blur(22px) saturate(1.4);
    border: 1px solid rgba(26, 158, 143, 0.32);
    border-radius: var(--radius-lg);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.16) inset,
        0 12px 32px rgba(0, 0, 0, 0.24);
    transition: transform 240ms cubic-bezier(0.2, 0.8, 0.2, 1),
                border-color 240ms cubic-bezier(0.2, 0.8, 0.2, 1),
                box-shadow 240ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.stack-card:hover {
    transform: translateY(-3px);
    border-color: rgba(26, 158, 143, 0.55);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.22) inset,
        0 22px 50px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(26, 158, 143, 0.32);
}

.stack-card--transform {
    background: linear-gradient(180deg, rgba(232, 138, 152, 0.16) 0%, rgba(255, 255, 255, 0.06) 100%);
    border-color: rgba(232, 138, 152, 0.34);
}

.stack-card--transform:hover {
    border-color: rgba(232, 138, 152, 0.6);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.22) inset,
        0 22px 50px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(232, 138, 152, 0.34);
}

.stack-card__head {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stack-card__sector {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(26, 158, 143, 0.18);
    color: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(26, 158, 143, 0.42);
}

.stack-card--transform .stack-card__sector {
    background: rgba(232, 138, 152, 0.2);
    border-color: rgba(232, 138, 152, 0.45);
}

.stack-card__title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: -0.012em;
    margin: 0;
    line-height: 1.15;
}

.stack-card__pitch {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.78);
}

.stack-card__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.stack-chip {
    padding: 0.32rem 0.7rem;
    border-radius: 999px;
    font-size: 0.74rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.86);
}

.stack-card__foot {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin-top: auto;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.stack-card__price {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.stack-card__price-now {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.78);
}

.stack-card__price-now strong {
    font-size: 1.3rem;
    color: var(--white);
    font-weight: 600;
    margin-right: 0.2rem;
}

.stack-card__price-was {
    font-size: 0.78rem;
    color: rgba(26, 158, 143, 0.92);
    font-weight: 500;
}

.stack-card--transform .stack-card__price-was {
    color: rgba(232, 138, 152, 0.95);
}

.stack-card__delivery {
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.78);
}

.stack-card__cta {
    margin-top: 0.3rem;
}

@media (max-width: 600px) {
    .cat-stacks { margin-bottom: 2.25rem; }
    .cat-stacks__head { padding: 0 0.5rem; }
    .cat-stacks__grid {
        grid-template-columns: 1fr;
        gap: 0.9rem;
    }
    .stack-card { padding: 1.2rem 1.1rem 1.3rem; }
    .stack-card__title { font-size: 1.2rem; }
    .stack-card__pitch { font-size: 0.86rem; }
}
