/* RocketStock marketing homepage */

body.rs-marketing {
    overflow-x: hidden;
    margin-bottom: 0;
    max-width: 100%;
}

.rs-marketing.rs-home {
    margin-bottom: 0;
}

.rs-site-header {
    background: #fff;
    border-bottom: 1px solid rgba(255, 179, 128, 0.35);
}

.rs-logo-text {
    font-size: 1.35rem;
    color: var(--text-primary, #1A1A1A);
    letter-spacing: -0.02em;
}

.rs-logo-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--action-primary, #FF6600);
    flex-shrink: 0;
}

.rs-header-tagline {
    max-width: 280px;
    text-align: right;
}

/* ── Hero ── */
.rs-hero {
    position: relative;
    background: var(--surface-soft, #FFD9BF);
    padding: 3.5rem 0 4rem;
    overflow: hidden;
}

.rs-hero-pattern {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.45;
    background:
        radial-gradient(circle at 85% 15%, rgba(255, 102, 0, 0.12) 0%, transparent 45%),
        radial-gradient(circle at 10% 80%, rgba(255, 179, 128, 0.35) 0%, transparent 40%),
        radial-gradient(circle at 70% 70%, rgba(255, 140, 64, 0.15) 0%, transparent 35%);
    animation: rs-hero-pattern-drift 24s linear infinite;
}

.rs-hero-enter {
    opacity: 0;
    transform: translateY(18px);
    animation: rs-hero-enter 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: var(--rs-delay, 0ms);
}

@keyframes rs-hero-enter {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.rs-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--rs-stagger, 0ms);
}

.rs-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.rs-hero .container {
    position: relative;
    z-index: 1;
}

.rs-hero-kicker {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--action-primary, #FF6600);
    margin-bottom: 0.75rem;
}

.rs-hero h1 {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--text-primary, #1A1A1A);
    margin-bottom: 1.25rem;
}

.rs-hero h1 .text-orange {
    color: var(--action-primary, #FF6600);
}

.rs-hero-lead {
    font-size: 1.125rem;
    line-height: 1.65;
    color: var(--text-muted, #697E70);
    max-width: 520px;
    margin-bottom: 1.75rem;
}

.rs-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.rs-hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.rs-hero-stat {
    min-width: 100px;
}

.rs-hero-stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary, #1A1A1A);
    line-height: 1.2;
}

.rs-hero-stat-label {
    font-size: 0.78rem;
    color: var(--text-muted, #697E70);
    font-weight: 500;
}

.rs-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.rs-hero-card-stack {
    width: 100%;
    max-width: 380px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.rs-preview-card {
    background: #fff;
    border: 1px solid rgba(255, 179, 128, 0.45);
    border-radius: 14px;
    padding: 1.25rem 1.35rem;
    box-shadow: 0 8px 24px rgba(26, 26, 26, 0.06);
}

.rs-preview-card.highlight {
    border-left: 4px solid var(--action-primary, #FF6600);
}

.rs-preview-label {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted, #697E70);
    margin-bottom: 0.35rem;
}

.rs-preview-value {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary, #1A1A1A);
}

.rs-preview-change {
    font-size: 0.85rem;
    font-weight: 600;
}

/* ── Sections ── */
.rs-section {
    padding: 4rem 0;
}

.rs-section-alt {
    background: var(--surface-main, #FFFFFF);
}

.rs-section-peach {
    background: var(--surface-soft, #FFD9BF);
}

.rs-section-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--text-primary, #1A1A1A);
    margin-bottom: 0.5rem;
}

.rs-section-subtitle {
    color: var(--text-muted, #697E70);
    max-width: 560px;
    margin: 0 auto 2.5rem;
}

.rs-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}

.rs-feature-card {
    background: #fff;
    border: 1px solid rgba(255, 179, 128, 0.35);
    border-radius: 14px;
    padding: 1.5rem;
    height: 100%;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.rs-feature-card:hover {
    box-shadow: 0 8px 24px rgba(255, 102, 0, 0.1);
    border-color: rgba(255, 102, 0, 0.35);
}

.rs-feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 102, 0, 0.1);
    color: var(--action-primary, #FF6600);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    margin-bottom: 1rem;
}

.rs-feature-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.rs-feature-card p {
    font-size: 0.92rem;
    color: var(--text-muted, #697E70);
    margin: 0;
    line-height: 1.55;
}

/* Stock cards on home */
.rs-stock-link {
    text-decoration: none;
    display: block;
    height: 100%;
}

.rs-stock-card {
    background: #fff;
    border: 1px solid rgba(255, 179, 128, 0.35);
    border-radius: 12px;
    padding: 1rem 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    height: 100%;
    transition: box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.3s ease,
                transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.rs-stock-link:hover .rs-stock-card {
    box-shadow: 0 10px 28px rgba(255, 102, 0, 0.14);
    border-color: rgba(255, 102, 0, 0.45);
    transform: translateY(-4px);
}

.rs-stock-symbol {
    font-weight: 700;
    color: var(--text-primary, #1A1A1A);
}

.rs-stock-name {
    font-size: 0.85rem;
    color: var(--text-muted, #697E70);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* CTA band */
.rs-cta-band {
    background: #fff;
    border-top: 1px solid rgba(255, 179, 128, 0.4);
    border-bottom: 1px solid rgba(255, 179, 128, 0.4);
    padding: 3.5rem 0;
    text-align: center;
}

.rs-cta-band h2 {
    font-size: clamp(1.4rem, 3vw, 1.85rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.rs-cta-band p {
    color: var(--text-muted, #697E70);
    max-width: 480px;
    margin: 0 auto 1.5rem;
}

/* ── Pipeline hero ── */
.rs-pipeline-hub {
    position: relative;
    min-height: 320px;
    animation: rs-demo-float 7s ease-in-out infinite;
}

.rs-pipeline-svg {
    width: 100%;
    max-width: 400px;
    display: block;
    margin: 0 auto;
}

/* ── Pillars ── */
.rs-pillar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}

.rs-pipe-line {
    stroke-dasharray: 8 6;
    animation: rs-pipe-flow 2.5s linear infinite;
}
@keyframes rs-pipe-flow {
    to { stroke-dashoffset: -28; }
}
.rs-pipe-node {
    position: absolute;
    background: #fff;
    border: 1px solid rgba(255, 179, 128, 0.55);
    border-radius: 12px;
    padding: 0.55rem 0.85rem;
    font-size: 0.82rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    box-shadow: 0 6px 18px rgba(26, 26, 26, 0.06);
    animation: rs-hero-node-pulse 3.5s ease-in-out infinite;
}
.rs-pipe-node span {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.75rem;
}
.rs-pipe-kite { top: 8%; left: 8%; animation-delay: 0s; }
.rs-pipe-kite span { background: #387ED1; }
.rs-pipe-groww { top: 8%; right: 8%; animation-delay: 0.4s; }
.rs-pipe-groww span { background: #00D09C; }
.rs-pipe-5p { bottom: 12%; left: 50%; transform: translateX(-50%); animation-delay: 0.8s; }
.rs-pipe-5p span { background: #1E4D8C; }

.rs-pillar-card {
    background: #fff;
    border: 1px solid rgba(255, 179, 128, 0.4);
    border-radius: 14px;
    padding: 1.5rem;
    height: 100%;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.35s ease,
                border-color 0.35s ease;
}

.rs-pillar-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(255, 102, 0, 0.12);
    border-color: rgba(255, 102, 0, 0.35);
}

.rs-pillar-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 102, 0, 0.1);
    color: #FF6600;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                background 0.35s ease;
}

.rs-pillar-card:hover .rs-pillar-icon {
    transform: scale(1.08) rotate(-4deg);
    background: rgba(255, 102, 0, 0.16);
}
.rs-pillar-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.rs-pillar-card p {
    font-size: 0.92rem;
    color: #697E70;
    margin: 0;
    line-height: 1.55;
}

/* ── Demo panels ── */
.rs-demo-panel {
    background: #fff;
    border: 1px solid rgba(255, 179, 128, 0.45);
    border-radius: 16px;
    padding: 1.25rem;
    box-shadow: 0 12px 32px rgba(26, 26, 26, 0.07);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.4s ease;
}

.rs-demo-float {
    animation: rs-demo-float 6s ease-in-out infinite;
}

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

.rs-demo-panel:hover {
    box-shadow: 0 18px 44px rgba(255, 102, 0, 0.1);
}
.rs-demo-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 1rem;
}
.rs-demo-chip {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.3rem 0.7rem;
    border-radius: 99px;
    background: #F3F4F6;
    color: #374151;
}
.rs-demo-chip.active {
    background: #FFF4EE;
    color: #FF6600;
    border: 1px solid rgba(255, 102, 0, 0.25);
}
.rs-demo-table {
    width: 100%;
    font-size: 0.85rem;
}
.rs-demo-table th {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #6B7280;
    border-bottom: 1px solid #E5E7EB;
    padding: 0.5rem 0.4rem;
}
.rs-demo-table td {
    padding: 0.55rem 0.4rem;
    border-bottom: 1px solid #F3F4F6;
}
.rs-demo-highlight { background: #FFF4EE; }
.rs-demo-badge {
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 99px;
}
.rs-demo-badge.green { background: #DCFCE7; color: #16A34A; }
.rs-demo-badge.amber { background: #FEF3C7; color: #D97706; }

.rs-demo-stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.rs-demo-stat {
    background: #F9FAFB;
    border-radius: 10px;
    padding: 0.75rem;
    font-size: 0.72rem;
    color: #6B7280;
}
.rs-demo-stat strong {
    display: block;
    font-size: 1rem;
    color: #1A1A1A;
    margin-top: 0.15rem;
}
.rs-demo-holding {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid #F3F4F6;
    font-weight: 600;
    font-size: 0.88rem;
}
.rs-demo-holding em {
    margin-left: auto;
    font-style: normal;
    color: #16A34A;
    font-weight: 700;
}
.rs-demo-broker {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.15rem 0.45rem;
    border-radius: 6px;
    color: #fff;
}
.rs-demo-broker.kite { background: #387ED1; }
.rs-demo-broker.groww { background: #00D09C; }
.rs-demo-broker.p5 { background: #1E4D8C; }

.rs-ai-console .rs-console-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #F3F4F6;
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
}
.rs-ai-console .rs-console-row span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.rs-ai-console .rs-console-row i { color: #FF6600; width: 18px; }
.rs-console-key { position: relative; }
.rs-console-status {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.72rem;
    color: #6B7280;
}

.rs-cta-inline {
    padding: 2.5rem 0;
    background: #fff;
    border-top: 1px solid rgba(255, 179, 128, 0.35);
    border-bottom: 1px solid rgba(255, 179, 128, 0.35);
}

/* ── Animated home hero carousel ── */
.rs-hero-carousel {
    position: relative;
    background: var(--surface-soft, #FFD9BF);
    overflow: hidden;
    min-height: clamp(420px, 52vw, 520px);
}

.rs-hero-carousel-inner {
    position: relative;
    min-height: inherit;
}

.rs-hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.7s;
}

.rs-hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 1;
}

.rs-hero-slide-media {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.rs-hero-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
    transform: scale(1.06);
    transition: transform 8s ease-out;
    filter: saturate(1.05);
}

.rs-hero-slide.is-active .rs-hero-slide-img {
    transform: scale(1);
}

.rs-hero-slide-shimmer {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(255, 255, 255, 0.94) 0%,
        rgba(255, 217, 191, 0.82) 38%,
        rgba(255, 217, 191, 0.35) 62%,
        transparent 85%
    );
    pointer-events: none;
}

.rs-hero-slide-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.35;
    pointer-events: none;
    background-image: radial-gradient(circle, rgba(255, 102, 0, 0.18) 1px, transparent 1px);
    background-size: 28px 28px;
    animation: rs-hero-pattern-drift 24s linear infinite;
}

@keyframes rs-hero-pattern-drift {
    from { background-position: 0 0; }
    to { background-position: 28px 28px; }
}

.rs-hero-slide-orbs {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.rs-hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.45;
    animation: rs-hero-orb-float 9s ease-in-out infinite;
}

.rs-hero-orb-1 {
    width: 220px;
    height: 220px;
    background: rgba(255, 102, 0, 0.25);
    top: -60px;
    right: 12%;
}

.rs-hero-orb-2 {
    width: 160px;
    height: 160px;
    background: rgba(255, 179, 128, 0.55);
    bottom: 10%;
    right: 35%;
    animation-delay: -3s;
}

.rs-hero-orb-3 {
    width: 120px;
    height: 120px;
    background: rgba(255, 140, 64, 0.3);
    top: 30%;
    right: 5%;
    animation-delay: -6s;
}

@keyframes rs-hero-orb-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-12px, 16px) scale(1.08); }
}

.rs-hero-slide-container {
    position: relative;
    z-index: 2;
    min-height: inherit;
    display: flex;
    align-items: center;
    padding-top: 3rem;
    padding-bottom: 4.5rem;
}

.rs-hero-slide-copy {
    max-width: 540px;
}

.rs-hero-slide-copy .rs-display {
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--text-primary, #1A1A1A);
    margin-bottom: 1rem;
}

.rs-hero-animate {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--rs-delay, 0ms);
}

.rs-hero-slide.is-active .rs-hero-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Floating visual panels */
.rs-hero-slide-visual {
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rs-hero-viz-brokers {
    position: relative;
    width: 320px;
    height: 280px;
    animation: rs-hero-viz-float 5s ease-in-out infinite;
}

@keyframes rs-hero-viz-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.rs-hero-viz-hub {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid rgba(255, 102, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
    color: #FF6600;
    box-shadow: 0 12px 32px rgba(255, 102, 0, 0.18);
    z-index: 2;
}

.rs-hero-viz-node {
    position: absolute;
    background: #fff;
    border: 1px solid rgba(255, 179, 128, 0.55);
    border-radius: 12px;
    padding: 0.5rem 0.75rem;
    font-size: 0.78rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 8px 20px rgba(26, 26, 26, 0.07);
    animation: rs-hero-node-pulse 3s ease-in-out infinite;
}

.rs-hero-viz-node span {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.7rem;
}

.rs-hero-viz-kite { top: 4%; left: 6%; }
.rs-hero-viz-kite span { background: #387ED1; }
.rs-hero-viz-groww { top: 4%; right: 6%; animation-delay: 0.5s; }
.rs-hero-viz-groww span { background: #00D09C; }
.rs-hero-viz-p5 { bottom: 8%; left: 50%; transform: translateX(-50%); animation-delay: 1s; }
.rs-hero-viz-p5 span { background: #1E4D8C; }

@keyframes rs-hero-node-pulse {
    0%, 100% { box-shadow: 0 8px 20px rgba(26, 26, 26, 0.07); }
    50% { box-shadow: 0 12px 28px rgba(255, 102, 0, 0.15); }
}

.rs-hero-viz-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.rs-hero-viz-line {
    stroke: #FF6600;
    stroke-width: 2;
    stroke-dasharray: 6 5;
    opacity: 0.55;
    animation: rs-hero-line-flow 2.2s linear infinite;
}

@keyframes rs-hero-line-flow {
    to { stroke-dashoffset: -22; }
}

.rs-hero-viz-portfolio {
    position: relative;
    width: 100%;
    max-width: 340px;
    min-height: 280px;
}

.rs-hero-viz-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 179, 128, 0.5);
    border-radius: 14px;
    padding: 0.85rem 1rem;
    font-size: 0.72rem;
    color: #697E70;
    box-shadow: 0 10px 28px rgba(26, 26, 26, 0.08);
    animation: rs-hero-card-float 4.5s ease-in-out infinite;
}

.rs-hero-viz-card strong {
    display: block;
    font-size: 1.15rem;
    color: #1A1A1A;
    margin-top: 0.15rem;
}

.rs-hero-viz-card-1 { top: 8%; left: 0; }
.rs-hero-viz-card-2 { top: 38%; right: 0; animation-delay: 0.6s; }
.rs-hero-viz-card-3 { bottom: 12%; left: 12%; animation-delay: 1.2s; }

@keyframes rs-hero-card-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.rs-hero-viz-sparkline {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(255, 179, 128, 0.4);
    border-radius: 12px;
    padding: 0.5rem;
    overflow: hidden;
}

.rs-hero-viz-sparkline svg {
    width: 100%;
    height: 100%;
}

.rs-hero-viz-sparkline polyline {
    fill: none;
    stroke: #FF6600;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    animation: rs-hero-spark-draw 3s ease-out infinite;
}

@keyframes rs-hero-spark-draw {
    0% { stroke-dashoffset: 400; }
    40%, 100% { stroke-dashoffset: 0; }
}

.rs-hero-viz-screener {
    position: relative;
    width: 100%;
    max-width: 320px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 179, 128, 0.5);
    border-radius: 16px;
    padding: 1rem;
    box-shadow: 0 14px 36px rgba(26, 26, 26, 0.09);
    overflow: hidden;
    animation: rs-hero-viz-float 5s ease-in-out infinite;
}

.rs-hero-viz-scan {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #FF6600, transparent);
    top: 0;
    animation: rs-hero-scan 3s ease-in-out infinite;
    opacity: 0.7;
}

@keyframes rs-hero-scan {
    0% { top: 0; opacity: 0; }
    10% { opacity: 0.8; }
    90% { opacity: 0.8; }
    100% { top: 100%; opacity: 0; }
}

.rs-hero-viz-screener-bar {
    display: flex;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.rs-hero-viz-screener-bar span {
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0.25rem 0.55rem;
    border-radius: 99px;
    background: #F3F4F6;
    color: #374151;
}

.rs-hero-viz-screener-bar span.active {
    background: #FFF4EE;
    color: #FF6600;
    border: 1px solid rgba(255, 102, 0, 0.25);
}

.rs-hero-viz-screener-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.35rem;
    font-size: 0.82rem;
    font-weight: 600;
    border-bottom: 1px solid #F3F4F6;
}

.rs-hero-viz-screener-row.highlight {
    background: #FFF4EE;
    border-radius: 8px;
}

.rs-hero-viz-screener-row em {
    font-style: normal;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.15rem 0.45rem;
    border-radius: 99px;
    background: #DCFCE7;
    color: #16A34A;
}

.rs-hero-viz-screener-row:not(.highlight) em {
    background: #FEF3C7;
    color: #D97706;
}

.rs-hero-viz-screener-row .rs-hero-viz-price {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted, #697E70);
    margin-left: auto;
    padding-left: 0.5rem;
}

/* Carousel controls */
.rs-hero-carousel-controls {
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.35rem 0.65rem;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 179, 128, 0.45);
    border-radius: 99px;
    box-shadow: 0 6px 20px rgba(26, 26, 26, 0.06);
}

.rs-hero-carousel-btn {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: #fff;
    color: #1A1A1A;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, transform 0.2s;
    font-size: 0.8rem;
}

.rs-hero-carousel-btn:hover {
    background: #FF6600;
    color: #fff;
    transform: scale(1.05);
}

.rs-hero-carousel-dots {
    display: flex;
    gap: 0.45rem;
    align-items: center;
}

.rs-hero-carousel-dot {
    position: relative;
    width: 10px;
    height: 10px;
    border: none;
    border-radius: 50%;
    padding: 0;
    background: rgba(255, 102, 0, 0.25);
    cursor: pointer;
    overflow: hidden;
    transition: width 0.3s, background 0.3s;
}

.rs-hero-carousel-dot.is-active {
    width: 36px;
    border-radius: 99px;
    background: rgba(255, 102, 0, 0.2);
}

.rs-hero-dot-progress {
    position: absolute;
    inset: 0;
    background: #FF6600;
    transform: scaleX(0);
    transform-origin: left;
    border-radius: inherit;
}

.rs-hero-carousel-dot.is-active .rs-hero-dot-progress {
    animation: rs-hero-dot-fill var(--rs-autoplay, 6s) linear forwards;
}

@keyframes rs-hero-dot-fill {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
    .rs-hero-slide,
    .rs-hero-animate,
    .rs-hero-enter,
    .rs-reveal,
    .rs-demo-float,
    .rs-pipe-line,
    .rs-pipe-node,
    .rs-hero-pattern,
    .rs-hero-slide-img,
    .rs-hero-orb,
    .rs-hero-viz-brokers,
    .rs-hero-viz-card,
    .rs-hero-viz-line,
    .rs-hero-viz-sparkline polyline,
    .rs-hero-viz-scan,
    .rs-hero-slide-pattern,
    .rs-hero-dot-progress {
        animation: none !important;
        transition-duration: 0.01ms !important;
    }

    .rs-hero-animate {
        opacity: 1;
        transform: none;
    }

    .rs-hero-enter,
    .rs-reveal {
        opacity: 1 !important;
        transform: none !important;
    }

    .rs-hero-slide-img {
        transform: none;
    }
}

@media (max-width: 991px) {
    .rs-hero-slide-shimmer {
        background: linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(255, 217, 191, 0.7) 55%,
            rgba(255, 217, 191, 0.2) 100%
        );
    }

    .rs-hero-slide-container {
        padding-top: 2.5rem;
        padding-bottom: 5rem;
    }

    .rs-hero-slide-img {
        object-position: 70% center;
    }

    .rs-hero {
        padding: 2.5rem 0 3rem;
    }

    .rs-hero-visual {
        margin-top: 2rem;
    }

    .rs-pipeline-hub {
        margin-top: 2rem;
        min-height: 280px;
    }
}
