/* ==========================================================================
   HilSec - Reusable components (buttons, cards, badges, form fields, etc.)
   Shared across every page.
   ========================================================================== */

/* Section heading pattern */
.eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-cyan);
    margin-bottom: 0.75rem;
}

.legal-updated {
    color: var(--color-gray);
    font-size: 0.85rem;
    margin-bottom: 2rem;
}

/* Legal document layout (Terms / Privacy): sticky TOC + card-based body */
.legal-shell {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2.5rem;
    align-items: start;
    padding-top: 3rem;
    padding-bottom: 5rem;
}

.legal-toc {
    position: sticky;
    top: 100px;
}

.legal-toc-card {
    background: var(--surface-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

.legal-toc-card summary {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-white);
    list-style: none;
}

.legal-toc-card summary::-webkit-details-marker {
    display: none;
}

.legal-toc-card summary i:first-child {
    color: var(--color-cyan);
    margin-right: 0.5rem;
}

.legal-toc-card summary i.fa-chevron-down {
    color: var(--color-cyan);
    transition: transform var(--transition-fast);
}

.legal-toc-card[open] summary i.fa-chevron-down {
    transform: rotate(180deg);
}

.legal-toc-meta {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin: 1.1rem 0;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-glass);
    font-size: 0.78rem;
    color: var(--color-gray-light);
}

.legal-toc-meta i {
    color: var(--color-cyan);
    margin-right: 0.4rem;
    width: 1em;
}

.legal-toc-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin: 0 0 1.25rem;
    padding: 0;
    counter-reset: legal-toc;
}

.legal-toc-list li {
    counter-increment: legal-toc;
}

.legal-toc-list a {
    display: block;
    padding: 0.5rem 0.65rem;
    border-radius: var(--radius-md);
    color: var(--color-gray-light);
    font-size: 0.85rem;
    text-decoration: none;
    border-left: 2px solid transparent;
    transition: color var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}

.legal-toc-list a::before {
    content: counter(legal-toc, decimal-leading-zero) "  ";
    color: var(--color-cyan);
    font-weight: 600;
}

.legal-toc-list a:hover {
    color: var(--color-white);
    background: rgba(0, 255, 243, 0.06);
}

.legal-toc-list a.active {
    color: var(--color-cyan);
    border-left-color: var(--color-cyan);
    background: rgba(0, 255, 243, 0.08);
}

.legal-print-btn {
    width: 100%;
    justify-content: center;
}

.legal-body {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.legal-card {
    position: relative;
    background: var(--surface-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 2rem 2.25rem;
    scroll-margin-top: 110px;
    transition: border-color var(--transition-fast);
}

.legal-card:hover {
    border-color: rgba(0, 255, 243, 0.35);
}

.legal-card-num {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--color-navy-deep);
    background: linear-gradient(135deg, var(--color-cyan), var(--color-electric-blue));
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    margin-bottom: 0.9rem;
}

.legal-card h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    color: var(--color-white);
    margin-bottom: 0.85rem;
    scroll-margin-top: 110px;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.legal-card p {
    color: var(--color-gray-light);
    line-height: 1.75;
}

.legal-anchor-btn {
    background: none;
    border: none;
    color: var(--color-gray);
    font-size: 0.8rem;
    cursor: pointer;
    opacity: 0;
    transition: opacity var(--transition-fast), color var(--transition-fast);
}

.legal-card h2:hover .legal-anchor-btn,
.legal-anchor-btn:focus-visible {
    opacity: 1;
}

.legal-anchor-btn:hover {
    color: var(--color-cyan);
}

@media (max-width: 900px) {
    .legal-shell {
        grid-template-columns: 1fr;
    }

    .legal-toc {
        position: static;
    }

    .legal-toc-card:not([open]) .legal-toc-meta,
    .legal-toc-card:not([open]) .legal-toc-list,
    .legal-toc-card:not([open]) .legal-print-btn {
        display: none;
    }
}

@media print {

    .navbar,
    #ambient-network,
    #scrollProgress,
    #cursor-dot,
    #cursor-glow,
    .legal-toc,
    .site-footer,
    #backToTop,
    .legal-anchor-btn,
    .page-hero-canvas {
        display: none !important;
    }

    body,
    .legal-card {
        background: #ffffff !important;
        color: #000000 !important;
    }

    .legal-card {
        border: 1px solid #ccc !important;
        break-inside: avoid;
    }

    .legal-card h2,
    .legal-card p,
    .legal-card-num {
        color: #000000 !important;
    }
}

.section-title {
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    color: var(--color-white);
    margin-bottom: 0.75rem;
}

.section-subtitle {
    color: var(--color-gray-light);
    max-width: 640px;
}

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

.placeholder-tag {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.3rem 0.75rem;
    font-size: 0.75rem;
    border-radius: 999px;
    background: rgba(239, 68, 68, 0.12);
    color: #ff9d9d;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Buttons (magnetic-button transform handled here too) */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid transparent;
    cursor: pointer;
    will-change: transform;
    transition: transform 0.25s ease, box-shadow var(--transition-fast), background var(--transition-fast);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-cyan), var(--color-electric-blue));
    color: var(--color-navy-deep);
    box-shadow: 0 8px 24px rgba(0, 255, 243, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 255, 243, 0.4);
}

.btn-outline {
    background: transparent;
    border-color: var(--border-glass);
    color: var(--color-white);
}

.btn-outline:hover {
    border-color: var(--color-cyan);
    color: var(--color-cyan);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--color-gray-light);
}

.btn-ghost:hover {
    color: var(--color-cyan);
}

/* Glass surface base */
.glass {
    background: var(--surface-glass);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--radius-md);
}

/* Pill toggle buttons (About tabs / Services filters) */
.info-btn,
.filter-btn {
    padding: 0.55rem 1.2rem;
    border-radius: 999px;
    border: 1px solid var(--border-glass);
    background: transparent;
    color: var(--color-gray-light);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.info-btn:hover,
.filter-btn:hover {
    color: var(--color-white);
    border-color: var(--color-cyan);
}

.info-btn.active,
.filter-btn.active {
    background: linear-gradient(135deg, var(--color-cyan), var(--color-electric-blue));
    color: var(--color-navy-deep);
    border-color: transparent;
}

/* Small button variant (toolbars, inline actions) */
.btn-sm {
    padding: 0.5rem 1.1rem;
    font-size: 0.8rem;
}

/* Publications grid filtering (CEO page) */
.case-study-card.hidden {
    display: none;
}

/* Framework / certification badge */
.framework-badge {
    padding: 0.7rem 1.4rem;
    border-radius: 999px;
    border: 1px solid var(--border-glass);
    background: var(--surface-glass);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-gray-light);
    transition: color var(--transition-fast), border-color var(--transition-fast);
}

.framework-badge:hover {
    color: var(--color-cyan);
    border-color: var(--color-cyan);
}

/* Contact / generic form fields */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.contact-form label {
    font-size: 0.85rem;
    color: var(--color-gray-light);
    margin-top: 0.5rem;
}

.contact-form input,
.contact-form textarea {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-glass);
    background: rgba(0, 0, 0, 0.2);
    color: var(--color-white);
    font-family: var(--font-body);
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-cyan);
}

.contact-form button {
    margin-top: 1rem;
    align-self: flex-start;
}

/* Preloader */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: var(--color-navy-deep);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: pulseGlow 1.6s ease-in-out infinite;
}

.preloader-logo .logo-icon {
    width: 64px;
    height: auto;
}

.preloader-logo .logo-text {
    font-size: 1.6rem;
}

.preloader-bar {
    width: 160px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    overflow: hidden;
}

.preloader-bar span {
    display: block;
    height: 100%;
    width: 40%;
    background: linear-gradient(90deg, var(--color-cyan), var(--color-electric-blue));
    animation: loaderSlide 1.2s ease-in-out infinite;
}

/* Scroll progress bar */
#scrollProgress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--color-cyan), var(--color-electric-blue));
    z-index: 9998;
    transition: width 0.1s linear;
}

/* Back-to-top + floating WhatsApp */
#backToTop {
    position: fixed;
    bottom: 1.75rem;
    right: 1.75rem;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid var(--border-glass);
    background: var(--surface-glass-strong);
    color: var(--color-cyan);
    cursor: pointer;
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
}

#backToTop.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Custom cursor (desktop / fine-pointer only - see body.has-custom-cursor gate) */
#cursor-dot,
#cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10001;
    pointer-events: none;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.2s ease, width 0.25s ease, height 0.25s ease, background 0.25s ease;
}

#cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--color-cyan);
}

#cursor-glow {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(0, 255, 243, 0.4);
    background: radial-gradient(circle, rgba(0, 255, 243, 0.08) 0%, transparent 70%);
}

body.has-custom-cursor #cursor-dot,
body.has-custom-cursor #cursor-glow {
    opacity: 1;
}

body.has-custom-cursor #cursor-dot.cursor-hover {
    width: 10px;
    height: 10px;
    background: var(--color-white);
}

body.has-custom-cursor #cursor-glow.cursor-hover {
    width: 64px;
    height: 64px;
    border-color: var(--color-cyan);
    background: radial-gradient(circle, rgba(0, 255, 243, 0.16) 0%, transparent 70%);
}

body.has-custom-cursor,
body.has-custom-cursor a,
body.has-custom-cursor button,
body.has-custom-cursor .btn {
    cursor: none;
}

/* Card tilt (perspective handled on wrapper, rotation via inline custom properties) */
.service-card,
.product-card,
.why-card,
.case-study-card,
.industry-card,
.soc-card,
.category-card,
.journey-step {
    --tilt-x: 0deg;
    --tilt-y: 0deg;
    transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
    transform-style: preserve-3d;
    will-change: transform;
}

/* Accordion (FAQ, expandable content, Industries risk panels) */
.accordion-item {
    background: var(--surface-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.accordion-item.open {
    border-color: var(--color-cyan);
    background: var(--surface-glass-strong);
    box-shadow: 0 12px 28px rgba(0, 255, 243, 0.1);
}

.accordion-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.accordion-trigger:hover {
    color: var(--color-cyan);
}

/* Sector icon badge (Industries only - scoped to the icon nested inside the
   trigger's label span, so the +/x toggle icon is untouched). */
.accordion-trigger span i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.9rem;
    height: 1.9rem;
    margin-right: 0.35rem;
    border-radius: 50%;
    background: rgba(0, 255, 243, 0.08);
    color: var(--color-cyan);
    font-size: 1rem !important;
    vertical-align: middle;
    transition: transform var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
}

.accordion-trigger:hover span i {
    transform: scale(1.12);
    background: rgba(0, 255, 243, 0.16);
    box-shadow: 0 0 16px rgba(0, 255, 243, 0.25);
}

.accordion-item.open .accordion-trigger span i {
    background: rgba(0, 255, 243, 0.18);
    box-shadow: 0 0 16px rgba(0, 255, 243, 0.3);
}

.accordion-trigger > i {
    color: var(--color-cyan);
    transition: transform var(--transition-fast), color var(--transition-fast);
}

.accordion-trigger:hover > i {
    transform: scale(1.15);
}

.accordion-item.open .accordion-trigger > i {
    transform: rotate(45deg);
    color: var(--color-white);
}

.accordion-panel {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height var(--transition-med), opacity 0.3s ease;
    padding: 0 1.5rem;
}

.accordion-item.open .accordion-panel {
    max-height: 400px;
    opacity: 1;
    padding: 0 1.5rem 1.5rem;
    transition: max-height var(--transition-med), opacity 0.4s ease 0.1s;
}

.accordion-panel p {
    color: var(--color-gray-light);
    font-size: 0.92rem;
}

/* ==========================================================================
   Journey strip (Assess -> Advise -> Source -> Implement -> Secure -> Monitor)
   Used on the homepage and the Sales "How It Works" section.
   ========================================================================== */

.journey-track {
    position: relative;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.25rem;
}

/* Connecting rail behind the steps - an animated dashed line (HilSec cyan)
   that draws in left-to-right on scroll, then keeps flowing like packets
   moving between checkpoints. See js/sales-interactive.js for the trigger. */
.journey-connector {
    position: absolute;
    top: 1.86rem;
    left: 6%;
    right: 6%;
    height: 3px;
    z-index: 0;
    overflow: hidden;
    border-radius: 2px;
}

.journey-connector-fill {
    display: block;
    height: 100%;
    width: 0%;
    background-image: repeating-linear-gradient(to right,
        var(--color-cyan) 0, var(--color-cyan) 10px,
        transparent 10px, transparent 20px);
    background-size: 20px 100%;
    filter: drop-shadow(0 0 4px rgba(0, 255, 243, 0.65));
    transition: width 1.6s cubic-bezier(0.22, 0.9, 0.32, 1);
}

.journey-track.in-view .journey-connector-fill {
    width: 100%;
    animation: journeyDashFlow 2.6s linear infinite 1.6s;
}

.journey-step {
    position: relative;
    z-index: 1;
    margin-top: 1.875rem;
    padding: 2rem 1.25rem 1.75rem;
    background: var(--surface-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    text-align: center;
    transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.journey-step:hover {
    transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateY(-6px);
    border-color: var(--color-cyan);
    box-shadow: 0 14px 30px rgba(0, 255, 243, 0.12);
}

/* Floating numbered node - straddles the card's top edge, centered on the
   connecting rail, in HilSec's cyan/electric-blue gradient. */
.journey-step-number {
    position: absolute;
    top: -1.875rem;
    left: 50%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.75rem;
    height: 3.75rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-cyan), var(--color-electric-blue));
    box-shadow: 0 0 0 4px var(--color-navy-deep), 0 0 22px rgba(0, 255, 243, 0.45);
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--color-navy-deep);
    transform: translateX(-50%) scale(0.3);
    opacity: 0;
    transition: transform 0.85s cubic-bezier(0.34, 1.2, 0.64, 1), opacity 0.7s ease, box-shadow var(--transition-fast);
}

.journey-track.in-view .journey-step-number {
    transform: translateX(-50%) scale(1);
    opacity: 1;
    animation: journeyBadgePulse 4.2s ease-in-out infinite;
}

.journey-step:hover .journey-step-number {
    box-shadow: 0 0 0 4px var(--color-navy-deep), 0 0 30px rgba(0, 255, 243, 0.75);
}

/* Offset by 1: .journey-connector is DOM child 1, so the first .journey-step
   (Assess) is child 2, and so on through Deploy at child 7. */
.journey-track.in-view .journey-step:nth-child(2) .journey-step-number { animation-delay: 0s; }
.journey-track.in-view .journey-step:nth-child(3) .journey-step-number { transition-delay: 0.15s; animation-delay: 0.4s; }
.journey-track.in-view .journey-step:nth-child(4) .journey-step-number { transition-delay: 0.3s; animation-delay: 0.8s; }
.journey-track.in-view .journey-step:nth-child(5) .journey-step-number { transition-delay: 0.45s; animation-delay: 1.2s; }
.journey-track.in-view .journey-step:nth-child(6) .journey-step-number { transition-delay: 0.6s; animation-delay: 1.6s; }
.journey-track.in-view .journey-step:nth-child(7) .journey-step-number { transition-delay: 0.75s; animation-delay: 2s; }

.journey-step i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    margin: 0 auto 0.6rem;
    border-radius: 50%;
    background: rgba(0, 255, 243, 0.08);
    font-size: 1.2rem;
    color: var(--color-cyan);
    transition: transform var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
}

.journey-step:hover i {
    transform: scale(1.12);
    background: rgba(0, 255, 243, 0.16);
    box-shadow: 0 0 18px rgba(0, 255, 243, 0.3);
}

.journey-step h3 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
}

.journey-step p {
    color: var(--color-gray-light);
    font-size: 0.85rem;
}

/* ==========================================================================
   Category controls (search / jump-to dropdown / tag filters) - Sales page
   ========================================================================== */

.category-global-note {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
    font-size: 0.85rem;
    color: var(--color-gray-light);
}

.category-global-note i {
    color: var(--color-cyan);
}

.category-global-note a {
    color: var(--color-cyan);
    font-weight: 600;
}

.category-global-note a:hover {
    text-decoration: underline;
}

.category-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.category-search {
    position: relative;
    flex: 1 1 320px;
}

.category-search i {
    position: absolute;
    top: 50%;
    left: 1.1rem;
    transform: translateY(-50%);
    color: var(--color-gray);
    pointer-events: none;
}

.category-search input {
    width: 100%;
    padding: 0.85rem 1rem 0.85rem 2.6rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-glass);
    background: rgba(0, 0, 0, 0.2);
    color: var(--color-white);
    font-family: var(--font-body);
}

.category-search input:focus {
    outline: none;
    border-color: var(--color-cyan);
}

.category-jump-wrap {
    position: relative;
    flex: 0 1 260px;
}

.category-jump-wrap i {
    position: absolute;
    top: 50%;
    left: 1.1rem;
    transform: translateY(-50%);
    color: var(--color-cyan);
    pointer-events: none;
}

.category-jump {
    width: 100%;
    padding: 0.85rem 1rem 0.85rem 2.6rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-glass);
    background: rgba(0, 0, 0, 0.2);
    color: var(--color-white);
    font-family: var(--font-body);
    cursor: pointer;
    appearance: none;
}

.category-jump:focus {
    outline: none;
    border-color: var(--color-cyan);
}

.category-chip-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 3rem;
}

.category-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 3.5rem 1.5rem;
    text-align: center;
    color: var(--color-gray-light);
}

/* The [hidden] attribute must win over the base display:flex above - without
   this, the empty state renders permanently regardless of the JS toggle. */
.category-empty-state[hidden] {
    display: none;
}

.category-empty-state i {
    font-size: 1.8rem;
    color: var(--color-cyan);
}

.category-empty-state-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.category-empty-state-row p {
    margin: 0;
}

.category-card.is-hidden {
    display: none;
}

/* Cards re-entering a filtered view get a quick refresh fade rather than
   snapping in instantly. */
.category-card.is-filtered-in {
    animation: fadeInBlock 0.4s ease;
}

/* Highlight pulse when a card is scrolled to via the "Jump to category" control. */
.category-card.is-jump-target {
    animation: socCardPulse 1.2s ease-out 2;
    border-color: var(--color-cyan);
}

/* ==========================================================================
   Category grid (Sales "What are you trying to protect?" + Solutions cards)
   ========================================================================== */

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.category-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 2rem 1.75rem;
    background: var(--surface-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.category-card:hover {
    transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateY(-6px);
    border-color: var(--color-cyan);
    box-shadow: 0 16px 36px rgba(0, 255, 243, 0.1);
}

.category-card i.category-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    margin-bottom: 1rem;
    border-radius: 50%;
    background: rgba(0, 255, 243, 0.08);
    font-size: 1.3rem;
    color: var(--color-cyan);
    transition: transform var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
}

.category-card:hover i.category-icon {
    transform: scale(1.12) rotate(-6deg);
    background: rgba(0, 255, 243, 0.16);
    box-shadow: 0 0 20px rgba(0, 255, 243, 0.3);
}

.category-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
}

.category-card > p {
    color: var(--color-gray-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.category-examples {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.25rem;
}

.category-examples span {
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    background: rgba(0, 255, 243, 0.06);
    border: 1px solid var(--border-glass);
    font-size: 0.75rem;
    color: var(--color-gray-light);
}

.category-related {
    margin: 0 0 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-glass);
    font-size: 0.82rem;
    color: var(--color-gray);
}

.category-related strong {
    display: block;
    color: var(--color-gray-light);
    margin-bottom: 0.4rem;
    font-weight: 600;
}

.category-card .btn {
    margin-top: auto;
    align-self: flex-start;
}

.category-availability {
    font-size: 0.75rem;
    color: var(--color-gray);
    margin-top: 0.75rem;
    font-style: italic;
}

.category-availability a {
    color: var(--color-cyan);
    font-style: normal;
}

/* ==========================================================================
   Security Stack Builder (interactive coverage checklist)
   ========================================================================== */

.stack-builder-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.stack-checklist {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.stack-checklist-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--surface-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
}

.stack-checklist-row span.stack-area-label {
    font-weight: 600;
    color: var(--color-white);
    font-size: 0.92rem;
}

.stack-checklist-row span.stack-area-hint {
    display: block;
    color: var(--color-gray);
    font-size: 0.78rem;
    font-weight: 400;
    margin-top: 0.15rem;
}

.stack-toggle {
    position: relative;
    display: inline-flex;
    width: 52px;
    height: 28px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-glass);
    cursor: pointer;
    flex-shrink: 0;
}

.stack-toggle input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    margin: 0;
}

.stack-toggle-dot {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--color-gray-light);
    transition: transform var(--transition-fast), background var(--transition-fast);
}

.stack-toggle input:checked ~ .stack-toggle-dot {
    transform: translateX(24px);
    background: var(--color-cyan);
}

.stack-toggle input:checked ~ .stack-toggle-dot {
    box-shadow: 0 0 12px rgba(0, 255, 243, 0.5);
}

.stack-summary {
    padding: 1.75rem;
    background: var(--surface-glass-strong);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
}

.stack-summary h3 {
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
}

.stack-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--border-glass);
    font-size: 0.88rem;
}

.stack-summary-row:last-of-type {
    border-bottom: none;
}

.stack-status {
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.stack-status--covered {
    background: rgba(34, 197, 94, 0.14);
    color: var(--color-success);
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.stack-status--gap {
    background: rgba(239, 68, 68, 0.12);
    color: #ff9d9d;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.stack-summary-cta {
    margin-top: 1.5rem;
    width: 100%;
    justify-content: center;
}

/* ==========================================================================
   Careers hiring process - winding "road" timeline with map-pin stages.
   The SVG path is generated in js/careers-roadmap.js from the actual pin
   positions, so it always lines up with the zigzag layout below at any
   viewport width; CSS only has to handle the zigzag and the pin styling.
   ========================================================================== */

.hiring-process-section {
    background: var(--surface-glass);
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
}

.hiring-road {
    position: relative;
    max-width: 1080px;
    margin: 0 auto;
    padding: 1rem 0;
}

/* Sticky "you are here" indicator - stays pinned near the top of the
   viewport while scrolling through the road and updates live via
   js/careers-roadmap.js's scroll-spy. */
.hiring-progress-badge {
    position: sticky;
    top: 6rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    width: fit-content;
    margin: 0 auto 2rem;
    padding: 0.6rem 1.1rem 0.6rem 0.6rem;
    background: var(--surface-glass-strong);
    border: 1px solid var(--border-glass);
    border-radius: 999px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.4s ease, transform 0.4s ease, border-color 0.3s ease;
    pointer-events: none;
}

.hiring-road.is-ready .hiring-progress-badge {
    opacity: 1;
    transform: translateY(0);
}

.hiring-progress-index {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.9rem;
    height: 1.9rem;
    border-radius: 50%;
    background: var(--stage-color, var(--color-cyan));
    color: var(--color-navy-deep);
    font-size: 0.8rem;
    font-weight: 700;
    transition: background var(--transition-fast);
}

.hiring-progress-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.hiring-progress-eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-gray);
}

.hiring-progress-label {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-white);
}

.hiring-road-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
    z-index: 0;
}

.hiring-road-base {
    fill: none;
    stroke: var(--color-navy-light);
    stroke-width: 22;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.85;
}

/* Three playful "lanes" riding alongside the main road, each in a HilSec
   brand color, each wiggling and flowing at its own tempo - the base "d"
   is identical (set in JS), CSS does the rest via transform + dash-offset
   animation so the three never need separate path math. */
.hiring-road-dashes {
    fill: none;
    stroke-linecap: round;
    transform-box: fill-box;
    transform-origin: 50% 50%;
}

.hiring-road-dashes-1 {
    stroke: var(--color-cyan);
    stroke-width: 2.25;
    stroke-dasharray: 9 15;
    opacity: 0.9;
    filter: drop-shadow(0 0 4px rgba(0, 255, 243, 0.6));
    animation: hiringDashFlow 1s linear infinite, hiringLaneWiggle1 2.2s ease-in-out infinite;
}

.hiring-road-dashes-2 {
    stroke: var(--color-electric-blue);
    stroke-width: 2.25;
    stroke-dasharray: 7 17;
    opacity: 0.85;
    filter: drop-shadow(0 0 4px rgba(43, 127, 255, 0.6));
    animation: hiringDashFlowReverse 1.5s linear infinite, hiringLaneWiggle2 2.8s ease-in-out infinite;
}

.hiring-road-dashes-3 {
    stroke: var(--color-cyan-dim);
    stroke-width: 2.25;
    stroke-dasharray: 5 13;
    opacity: 0.8;
    filter: drop-shadow(0 0 4px rgba(15, 243, 224, 0.6));
    animation: hiringDashFlow 0.75s linear infinite, hiringLaneWiggle3 1.9s ease-in-out infinite;
}

.hiring-road-progress {
    fill: none;
    stroke: var(--color-cyan);
    stroke-width: 5;
    stroke-linecap: round;
    filter: drop-shadow(0 0 10px rgba(0, 255, 243, 0.8));
}

.hiring-road-marker {
    fill: var(--color-cyan);
    filter: drop-shadow(0 0 10px rgba(0, 255, 243, 0.85));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.hiring-road.is-ready .hiring-road-marker {
    opacity: 1;
    animation: hiringMarkerPulse 2s ease-in-out infinite;
}

.hiring-stages {
    position: relative;
    z-index: 1;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: clamp(2.5rem, 7vw, 5rem);
    padding: 1.5rem 0;
}

/* Wide center gutter (like .timeline's straight rail, but generous) holds
   the pin; text always lives in the outer 1fr columns, so the winding
   road - which only ever weaves within the gutter, edge to edge - can
   never cross over the copy, regardless of viewport width or text length. */
.hiring-stage {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(9rem, 15rem) minmax(0, 1fr);
    align-items: center;
    gap: 0 1.5rem;
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.hiring-stage.in-view {
    opacity: 1;
    transform: translateY(0);
}

.hiring-stage-copy {
    grid-column: 3;
    background: var(--surface-glass-strong);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 1.1rem 1.35rem;
    transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.hiring-stage-copy:hover {
    border-color: var(--stage-color, var(--color-cyan));
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
}

.hiring-stage:nth-child(even) .hiring-stage-copy {
    grid-column: 1;
    text-align: right;
}

.hiring-pin {
    grid-column: 2;
    /* Parked at one edge of the (wide) gutter, alternating sides each row -
       that's what gives the road its big, sweeping S-curve, while staying
       structurally inside the gutter and clear of the text columns. */
    justify-self: start;
    flex-shrink: 0;
    position: relative;
    display: block;
    width: 3.5rem;
    height: 3.5rem;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
}

.hiring-stage:nth-child(even) .hiring-pin {
    justify-self: end;
}

.hiring-pin-marker {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: 50% 50% 50% 0;
    background: linear-gradient(135deg, var(--stage-color, var(--color-cyan)), var(--color-navy));
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 0 0 0 4px var(--color-navy-deep);
    transform: rotate(-45deg);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.hiring-pin-marker i {
    transform: rotate(45deg);
    color: var(--color-white);
    font-size: 1.1rem;
}

/* Spawned by js/careers-roadmap.js on pointerenter (fine pointers only) -
   a quick ripple pulse out from the marker, distinct from the persistent
   .is-active ring. */
.hiring-pin-ripple {
    position: absolute;
    inset: -4px;
    border-radius: 50% 50% 50% 0;
    border: 2px solid var(--stage-color, var(--color-cyan));
    animation: hiringRippleExpand 0.6s ease-out forwards;
    pointer-events: none;
}

.hiring-pin-index {
    position: absolute;
    top: -0.35rem;
    right: -0.35rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: var(--color-navy-deep);
    border: 1px solid var(--stage-color, var(--color-cyan));
    color: var(--stage-color, var(--color-cyan));
    font-size: 0.65rem;
    font-weight: 700;
}

.hiring-pin:hover .hiring-pin-marker,
.hiring-pin:focus-visible .hiring-pin-marker,
.hiring-stage.is-active .hiring-pin-marker {
    transform: rotate(-45deg) scale(1.12) translateY(-3px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.45), 0 0 24px var(--stage-color, rgba(0, 255, 243, 0.5)), 0 0 0 4px var(--color-navy-deep);
}

.hiring-pin:focus-visible {
    outline: none;
}

.hiring-stage.is-active .hiring-pin-marker::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50% 50% 50% 0;
    border: 2px solid var(--stage-color, var(--color-cyan));
    animation: hiringPinRing 1.4s ease-out infinite;
}

.hiring-stage-copy h3 {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
    color: var(--stage-color, var(--color-white));
    transition: text-shadow var(--transition-fast);
}

.hiring-stage.is-active .hiring-stage-copy h3 {
    text-shadow: 0 0 18px var(--stage-color, rgba(0, 255, 243, 0.5));
}

.hiring-stage-copy p {
    color: var(--color-gray-light);
    font-size: 0.9rem;
}

/* ==========================================================================
   Careers application form (Submit Your Application)
   ========================================================================== */

.application-card {
    max-width: 720px;
    margin: 0 auto;
    padding: 2.5rem;
    background: var(--surface-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
}

.application-form select {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-glass);
    background: rgba(0, 0, 0, 0.2);
    color: var(--color-white);
    font-family: var(--font-body);
    cursor: pointer;
}

.application-form select:focus {
    outline: none;
    border-color: var(--color-cyan);
}

.form-row-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 1.25rem;
}

/* Drag & drop CV upload */
.cv-dropzone {
    position: relative;
    margin-top: 0.4rem;
    padding: 2.25rem 1.5rem;
    text-align: center;
    border: 2px dashed var(--border-glass);
    border-radius: var(--radius-md);
    background: rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: border-color var(--transition-fast), background var(--transition-fast);
}

.cv-dropzone:hover,
.cv-dropzone.is-dragover {
    border-color: var(--color-cyan);
    background: rgba(0, 255, 243, 0.05);
}

.cv-dropzone i {
    display: block;
    font-size: 1.8rem;
    color: var(--color-cyan);
    margin-bottom: 0.75rem;
    transition: transform var(--transition-fast);
}

.cv-dropzone.is-dragover i {
    transform: scale(1.15) translateY(-2px);
}

.cv-dropzone-text {
    color: var(--color-gray-light);
    font-size: 0.92rem;
}

.cv-dropzone-hint {
    margin-top: 0.35rem;
    font-size: 0.78rem;
    color: var(--color-gray);
}

.cv-dropzone input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.cv-file-preview {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(0, 255, 243, 0.06);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    color: var(--color-gray-light);
    animation: fadeInBlock 0.3s ease;
}

.cv-file-preview.visible {
    display: flex;
}

.cv-file-preview i {
    color: var(--color-cyan);
}

.cv-file-name {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: left;
}

.cv-remove-btn {
    background: none;
    border: none;
    color: var(--color-gray-light);
    font-size: 1rem;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.cv-remove-btn:hover {
    color: #ff9d9d;
}

.cv-error {
    display: none;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: #ff9d9d;
}

.cv-error.visible {
    display: block;
}

/* Consent row */
.consent-row {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin: 1.5rem 0 0.5rem;
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--color-gray-light);
}

.consent-row input[type="checkbox"] {
    flex-shrink: 0;
    width: 17px;
    height: 17px;
    margin-top: 0.15rem;
    accent-color: var(--color-cyan);
    cursor: pointer;
}

.consent-row a {
    color: var(--color-cyan);
}

.consent-row a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   Ambient network background - a very subtle, full-page version of the same
   node/link visual already used in page-hero canvases, so the "globally
   connected" motif persists as you scroll rather than living only in the
   hero band. Rendered by js/animations.js#initAmbientNetwork.
   ========================================================================== */

#ambient-network {
    position: fixed;
    inset: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    opacity: 0.5;
    pointer-events: none;
}

/* ==========================================================================
   Transaction Flow Visualization (blockchain.html) - simulated on-chain
   network graph with animated transaction particles, a live feed, and
   click-to-inspect node details. Driven by js/blockchain-visualization.js.
   ========================================================================== */

.tx-flow-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.tx-stat {
    padding: 1.1rem 1.25rem;
    background: var(--surface-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    text-align: center;
    transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.tx-stat-value {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.7rem;
    color: var(--color-cyan);
    font-variant-numeric: tabular-nums;
}

.tx-stat--danger .tx-stat-value {
    color: var(--color-danger);
}

.tx-stat-label {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.78rem;
    color: var(--color-gray);
    letter-spacing: 0.02em;
}

.tx-flow-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 1.25rem;
    align-items: stretch;
}

.tx-flow-canvas-wrap {
    position: relative;
    background: var(--surface-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    min-height: 0;
}

#txFlowCanvas {
    width: 100%;
    height: 440px;
    display: block;
    border-radius: var(--radius-md);
    background: radial-gradient(circle at 50% 45%, rgba(0, 255, 243, 0.06), transparent 65%), rgba(0, 4, 10, 0.4);
    cursor: pointer;
}

.tx-flow-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
}

.tx-flow-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    border: 1px solid var(--border-glass);
    background: transparent;
    color: var(--color-gray-light);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.tx-flow-btn:hover {
    border-color: var(--color-cyan);
    color: var(--color-cyan);
}

.tx-flow-btn[aria-pressed="true"] {
    background: rgba(0, 255, 243, 0.12);
    border-color: var(--color-cyan);
    color: var(--color-cyan);
}

.tx-flow-btn--toggle[aria-pressed="true"] {
    background: rgba(239, 68, 68, 0.12);
    border-color: var(--color-danger);
    color: #ff9d9d;
}

.tx-flow-speed {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    color: var(--color-gray);
    margin-left: auto;
}

.tx-flow-speed input[type="range"] {
    accent-color: var(--color-cyan);
    width: 110px;
}

.tx-flow-tooltip {
    position: absolute;
    z-index: 20;
    min-width: 200px;
    max-width: 240px;
    padding: 0.9rem 1rem;
    background: var(--surface-glass-strong);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--color-cyan);
    border-radius: var(--radius-md);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
    font-size: 0.8rem;
    color: var(--color-gray-light);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    pointer-events: none;
}

.tx-flow-tooltip.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.tx-flow-tooltip h4 {
    margin: 0 0 0.5rem;
    font-size: 0.85rem;
    color: var(--color-white);
}

.tx-flow-tooltip .tx-tooltip-row {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.3rem;
}

.tx-flow-tooltip .tx-tooltip-row span:last-child {
    color: var(--color-cyan);
    font-weight: 600;
}

.tx-risk-meter {
    margin-top: 0.5rem;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.tx-risk-meter-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--color-cyan), var(--color-danger));
    transition: width 0.3s ease;
}

.tx-flow-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem 1.4rem;
    font-size: 0.78rem;
    color: var(--color-gray);
}

.tx-flow-legend span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

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

.tx-dot--contract {
    background: var(--color-electric-blue);
}

.tx-dot--exchange {
    background: var(--color-cyan);
}

.tx-dot--wallet {
    background: var(--color-gray-light);
}

.tx-dot--risk {
    background: var(--color-danger);
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.7);
}

.tx-flow-feed {
    display: flex;
    flex-direction: column;
    background: var(--surface-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 1rem;
    min-height: 0;
}

.tx-flow-feed-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.tx-flow-feed-header h3 {
    margin: 0;
    font-size: 0.95rem;
    color: var(--color-white);
}

.tx-flow-feed-status {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    color: var(--color-gray);
}

.tx-flow-feed-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--color-success);
    box-shadow: 0 0 6px rgba(34, 197, 94, 0.8);
    animation: txFeedPulse 1.6s ease-in-out infinite;
}

.tx-flow-feed-dot.is-paused {
    background: var(--color-gray);
    box-shadow: none;
    animation: none;
}

@keyframes txFeedPulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(0.7);
    }
}

.tx-flow-feed-list {
    flex: 1;
    overflow-y: auto;
    max-height: 420px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-right: 0.25rem;
}

.tx-flow-feed-list::-webkit-scrollbar {
    width: 6px;
}

.tx-flow-feed-list::-webkit-scrollbar-thumb {
    background: var(--border-glass);
    border-radius: 999px;
}

.tx-feed-item {
    padding: 0.6rem 0.7rem;
    border-radius: 10px;
    border: 1px solid var(--border-glass);
    background: rgba(0, 24, 32, 0.5);
    font-size: 0.76rem;
    color: var(--color-gray-light);
    animation: txFeedItemIn 0.35s ease;
}

.tx-feed-item.is-risk {
    border-color: rgba(239, 68, 68, 0.5);
    background: rgba(239, 68, 68, 0.08);
}

@keyframes txFeedItemIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tx-feed-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    font-family: 'Space Grotesk', var(--font-body);
}

.tx-feed-item-addrs {
    color: var(--color-white);
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tx-feed-item-amount {
    color: var(--color-cyan);
    font-weight: 700;
    white-space: nowrap;
}

.tx-feed-item.is-risk .tx-feed-item-amount {
    color: #ff9d9d;
}

.tx-feed-item-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.25rem;
    font-size: 0.68rem;
    color: var(--color-gray);
}

.tx-feed-item-flag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: #ff9d9d;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.65rem;
}

.tx-flow-disclaimer {
    margin: 1.25rem 0 0;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.78rem;
    color: var(--color-gray);
    max-width: 760px;
}

.tx-flow-disclaimer i {
    margin-top: 0.15rem;
    color: var(--color-cyan);
}
