/* ==================================================================
   Green Up Tech — "futuristic" dark theme
   Scoped to body.theme-tech (ecosystem/tech/index.html only)
   Motion: transform / opacity only, disabled for reduced motion.
   ================================================================== */

.theme-tech {
    --tx-bg: #060B10;
    --tx-bg-2: #0A1218;
    --tx-surface-1: #0F1A22;
    --tx-surface-2: #0A131A;
    --tx-line: rgba(255, 255, 255, 0.08);
    --tx-line-strong: rgba(255, 255, 255, 0.16);
    --tx-text: #EEF3F7;
    --tx-muted: #A9B6C2;
    --tx-dim: #7F8D9A;
    --tx-coral: #FF6B6B;
    --tx-amber: #FFC371;
    --tx-red: #EF4444;
    --tx-cyan: #00F0FF;
    --tx-grad: linear-gradient(135deg, #FF6B6B 0%, #FFC371 100%);
    --tx-grad-wide: linear-gradient(90deg, #FF6B6B 0%, #FFC371 45%, #00F0FF 100%);
    --tx-ease: cubic-bezier(0.22, 1, 0.36, 1);
    color-scheme: dark;
}

body.theme-tech {
    background: var(--tx-bg);
    color: var(--tx-text);
}

.theme-tech h1,
.theme-tech h2,
.theme-tech h3,
.theme-tech h4,
.theme-tech h5,
.theme-tech h6 {
    color: var(--tx-text);
}

.theme-tech ::selection {
    background: rgba(0, 240, 255, 0.28);
    color: #fff;
}

html:has(> body.theme-tech)::-webkit-scrollbar-track { background: #070C11; }
html:has(> body.theme-tech)::-webkit-scrollbar-thumb { background: #1E2B36; border-radius: 10px; }
html:has(> body.theme-tech)::-webkit-scrollbar-thumb:hover { background: #2A3B49; }

.theme-tech .tx-muted { color: var(--tx-muted); }
.theme-tech .tx-dim { color: var(--tx-dim); }

.theme-tech a:focus-visible,
.theme-tech button:focus-visible {
    outline: 2px solid var(--tx-cyan);
    outline-offset: 3px;
}

/* ------------------------------------------------------------------ */
/* Page backdrop: dot matrix + drifting glows                          */
/* ------------------------------------------------------------------ */
.tx-backdrop {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.tx-backdrop::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1.4px);
    background-size: 28px 28px;
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 100%);
    mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 100%);
}

.tx-orb {
    position: absolute;
    width: 60vmax;
    height: 60vmax;
    border-radius: 50%;
    will-change: transform;
}

.tx-orb--coral {
    top: -20vmax;
    left: -18vmax;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.13) 0%, rgba(255, 107, 107, 0) 62%);
    animation: tx-drift-a 26s ease-in-out infinite alternate;
}

.tx-orb--cyan {
    bottom: -24vmax;
    right: -20vmax;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.09) 0%, rgba(0, 240, 255, 0) 62%);
    animation: tx-drift-b 30s ease-in-out infinite alternate;
}

@keyframes tx-drift-a {
    to { transform: translate3d(14vw, 22vh, 0); }
}

@keyframes tx-drift-b {
    to { transform: translate3d(-16vw, -18vh, 0); }
}

/* ------------------------------------------------------------------ */
/* Hero                                                                */
/* ------------------------------------------------------------------ */
.theme-tech .tx-hero {
    isolation: isolate;
    background: var(--tx-bg);
    border-radius: 0 0 2.5rem 2.5rem;
    border-bottom: 1px solid var(--tx-line);
}

.theme-tech .tx-hero .hero-bg-image {
    opacity: 0.5;
    filter: saturate(0.85) hue-rotate(-8deg);
    transform: scale(1.08);
    animation: tx-hero-zoom 2.4s var(--tx-ease) forwards;
}

@keyframes tx-hero-zoom {
    to { transform: scale(1); }
}

.theme-tech .tx-hero .hero-overlay {
    background:
        radial-gradient(ellipse 70% 60% at 50% 45%, rgba(6, 11, 16, 0.35) 0%, rgba(6, 11, 16, 0.85) 70%),
        linear-gradient(180deg, rgba(6, 11, 16, 0.75) 0%, rgba(6, 11, 16, 0.55) 45%, #060B10 100%);
}

.tx-hero-grid {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(0, 240, 255, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.07) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(ellipse 65% 55% at 50% 55%, #000 10%, transparent 75%);
    mask-image: radial-gradient(ellipse 65% 55% at 50% 55%, #000 10%, transparent 75%);
}

.tx-hero-scan {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 30%;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(0, 240, 255, 0) 0%, rgba(0, 240, 255, 0.05) 85%, rgba(0, 240, 255, 0.18) 100%);
    transform: translateY(-110%);
    animation: tx-scan 7s cubic-bezier(0.45, 0, 0.55, 1) 1.2s infinite;
}

@keyframes tx-scan {
    0% { transform: translateY(-110%); opacity: 0; }
    15% { opacity: 1; }
    70% { opacity: 1; }
    100% { transform: translateY(380%); opacity: 0; }
}

.tx-hero-glow {
    position: absolute;
    width: min(70vw, 760px);
    height: min(70vw, 760px);
    left: 50%;
    top: 50%;
    margin: calc(min(70vw, 760px) / -2) 0 0 calc(min(70vw, 760px) / -2);
    z-index: -1;
    pointer-events: none;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.16) 0%, rgba(255, 195, 113, 0.06) 35%, transparent 65%);
    animation: tx-pulse 8s ease-in-out infinite;
}

@keyframes tx-pulse {
    0%, 100% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.12); opacity: 1; }
}

/* Hero entrance (staggered blur-in) */
.tx-in {
    opacity: 0;
    transform: translateY(26px);
    filter: blur(10px);
    animation: tx-in 1.1s var(--tx-ease) forwards;
    animation-delay: calc(var(--d, 0) * 1ms + 150ms);
}

@keyframes tx-in {
    to { opacity: 1; transform: none; filter: blur(0); }
}

.theme-tech .tx-hero h1 {
    color: #fff;
}

.theme-tech .tx-hero .t-lead {
    color: #C9D4DE;
}

.tx-grad-text {
    background: var(--tx-grad-wide);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    animation: tx-grad-shift 8s ease-in-out infinite alternate;
}

@keyframes tx-grad-shift {
    from { background-position: 0% 50%; }
    to { background-position: 100% 50%; }
}

/* Pill / eyebrow */
.tx-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    color: var(--tx-amber);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 195, 113, 0.28);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 24px rgba(255, 107, 107, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.tx-pulse-dot {
    position: relative;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--tx-cyan);
    box-shadow: 0 0 10px var(--tx-cyan);
}

.tx-pulse-dot::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--tx-cyan);
    animation: tx-ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes tx-ping {
    75%, 100% { transform: scale(2.6); opacity: 0; }
}

/* Scroll indicator */
.tx-scroll {
    position: absolute;
    bottom: 1.75rem;
    left: 50%;
    width: 26px;
    height: 42px;
    margin-left: -13px;
    border-radius: 14px;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.tx-scroll::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 8px;
    width: 4px;
    height: 8px;
    margin-left: -2px;
    border-radius: 2px;
    background: var(--tx-cyan);
    box-shadow: 0 0 8px var(--tx-cyan);
    animation: tx-wheel 1.8s var(--tx-ease) infinite;
}

@keyframes tx-wheel {
    0% { transform: translateY(0); opacity: 0; }
    30% { opacity: 1; }
    100% { transform: translateY(14px); opacity: 0; }
}

/* ------------------------------------------------------------------ */
/* Buttons                                                             */
/* ------------------------------------------------------------------ */
.theme-tech .cta-gradient-tech {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    color: #3A0808;
    min-height: 44px;
    box-shadow: 0 6px 22px rgba(239, 68, 68, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.35);
    transition: transform 0.35s var(--tx-ease), box-shadow 0.35s var(--tx-ease);
}

.theme-tech .cta-gradient-tech::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 45%;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.55) 50%, transparent 100%);
    transform: translateX(-160%) skewX(-18deg);
    animation: tx-shimmer 5s ease-in-out 2s infinite;
}

.theme-tech .cta-gradient-tech:hover::after {
    animation-duration: 1.2s;
    animation-delay: 0s;
}

@keyframes tx-shimmer {
    0% { transform: translateX(-160%) skewX(-18deg); }
    30%, 100% { transform: translateX(330%) skewX(-18deg); }
}

.theme-tech .cta-gradient-tech:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 34px rgba(255, 107, 107, 0.45), 0 0 0 1px rgba(255, 195, 113, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.tx-btn-ghost {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 44px;
    padding: 0.85rem 2rem;
    border-radius: 9999px;
    font-weight: 700;
    color: var(--tx-text);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--tx-line-strong);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    cursor: pointer;
    transition: transform 0.35s var(--tx-ease), border-color 0.35s, box-shadow 0.35s var(--tx-ease), background-color 0.35s, color 0.35s;
}

.tx-btn-ghost:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 240, 255, 0.6);
    background: rgba(0, 240, 255, 0.07);
    color: #fff;
    box-shadow: 0 0 0 4px rgba(0, 240, 255, 0.08), 0 10px 30px rgba(0, 240, 255, 0.15);
}

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

/* ------------------------------------------------------------------ */
/* Sections + headings                                                 */
/* ------------------------------------------------------------------ */
.tx-section {
    position: relative;
}

.tx-band {
    background: linear-gradient(180deg, rgba(10, 18, 24, 0) 0%, rgba(10, 18, 24, 0.85) 18%, rgba(10, 18, 24, 0.85) 82%, rgba(10, 18, 24, 0) 100%);
}

.theme-tech .section-head .t-lead {
    color: var(--tx-muted);
    margin-top: 1rem;
}

.tx-head-line {
    display: block;
    width: 72px;
    height: 3px;
    margin: 1.25rem auto 0;
    border-radius: 3px;
    background: var(--tx-grad-wide);
    box-shadow: 0 0 14px rgba(255, 107, 107, 0.45);
    transform-origin: center;
    transform: scaleX(0);
    transition: transform 1.1s var(--tx-ease) 0.35s;
}

.is-visible .tx-head-line,
html:not(.js-reveal) .tx-head-line {
    transform: scaleX(1);
}

/* ------------------------------------------------------------------ */
/* Cards: dark glass + thin gradient border + glow + tilt              */
/* ------------------------------------------------------------------ */
.tx-card {
    --rx: 0deg;
    --ry: 0deg;
    --lift: 0px;
    --mx: 50%;
    --my: 0%;
    position: relative;
    isolation: isolate;
    border-radius: 1.5rem;
    border: 1px solid transparent;
    background:
        linear-gradient(160deg, var(--tx-surface-1), var(--tx-surface-2)) padding-box,
        linear-gradient(140deg, rgba(255, 107, 107, 0.38), rgba(255, 255, 255, 0.07) 38%, rgba(255, 255, 255, 0.05) 62%, rgba(0, 240, 255, 0.32)) border-box;
    box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(var(--lift));
    transition: transform 0.6s var(--tx-ease), box-shadow 0.6s var(--tx-ease);
}

/* glowing gradient ring (fades in on hover) */
.tx-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    z-index: -1;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(140deg, #FF6B6B, #FFC371 45%, #00F0FF);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s var(--tx-ease);
    pointer-events: none;
}

/* cursor spotlight */
.tx-card::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: radial-gradient(420px circle at var(--mx) var(--my), rgba(0, 240, 255, 0.08), rgba(255, 107, 107, 0.05) 40%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s var(--tx-ease);
    pointer-events: none;
}

.tx-card:hover {
    --lift: -6px;
    box-shadow: 0 30px 70px -24px rgba(0, 0, 0, 0.8), 0 0 40px -10px rgba(255, 107, 107, 0.28), 0 0 60px -20px rgba(0, 240, 255, 0.2);
}

.tx-card:hover::before,
.tx-card:hover::after {
    opacity: 1;
}

.tx-card.is-tilting {
    transition: transform 0.18s ease-out, box-shadow 0.6s var(--tx-ease);
}

.tx-card--flat:hover {
    --lift: -3px;
}

/* nested sub-card */
.tx-sub {
    position: relative;
    border-radius: 1.1rem;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--tx-line);
    transition: border-color 0.4s, background-color 0.4s, transform 0.4s var(--tx-ease);
}

.tx-sub:hover {
    border-color: rgba(255, 195, 113, 0.35);
    background: rgba(255, 255, 255, 0.045);
    transform: translateY(-2px);
}

/* Icon tile */
.tx-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    color: var(--tx-amber);
    background: linear-gradient(145deg, rgba(255, 107, 107, 0.16), rgba(255, 195, 113, 0.06));
    border: 1px solid rgba(255, 195, 113, 0.22);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 24px -6px rgba(255, 107, 107, 0.4);
    transition: transform 0.5s var(--tx-ease), box-shadow 0.5s var(--tx-ease);
}

.tx-icon i { font-size: 1.35rem; }

.tx-card:hover .tx-icon {
    transform: translateY(-2px) scale(1.06);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 0 34px -4px rgba(255, 107, 107, 0.6);
}

/* Chips & tags */
.tx-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.8rem;
    border-radius: 9999px;
    color: var(--tx-amber);
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.25);
}

.tx-chip--cyan {
    color: var(--tx-cyan);
    background: rgba(0, 240, 255, 0.07);
    border-color: rgba(0, 240, 255, 0.22);
}

.tx-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.7rem;
    border-radius: 0.6rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: #D5DEE6;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--tx-line);
}

.tx-tag i { color: var(--tx-coral); }

.tx-kicker {
    color: var(--tx-coral);
}

.tx-logo-plate {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.6rem;
    border-radius: 0.65rem;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.tx-link {
    color: var(--tx-cyan);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 44px;
    transition: color 0.3s, text-shadow 0.3s;
}

.tx-link:hover {
    color: #7DF7FF;
    text-shadow: 0 0 14px rgba(0, 240, 255, 0.5);
}

/* Check list (services) */
.tx-check {
    flex-shrink: 0;
    width: 1.75rem;
    height: 1.75rem;
    margin-top: 0.1rem;
    border-radius: 0.55rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--tx-amber);
    background: rgba(255, 107, 107, 0.12);
    border: 1px solid rgba(255, 107, 107, 0.25);
    transition: transform 0.4s var(--tx-ease), background-color 0.4s, color 0.4s, box-shadow 0.4s;
}

.tx-check i { font-size: 0.7rem; }

.tx-list-item:hover .tx-check {
    transform: scale(1.12);
    color: #3A0808;
    background: var(--tx-coral);
    box-shadow: 0 0 18px rgba(255, 107, 107, 0.6);
}

.tx-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
}

/* ------------------------------------------------------------------ */
/* Product slider                                                      */
/* ------------------------------------------------------------------ */
.theme-tech #product-slider-track {
    transition: transform 0.85s cubic-bezier(0.65, 0, 0.35, 1);
}

.tx-slider-window {
    border-radius: 1.75rem;
}

.tx-slide-card {
    height: 100%;
    border-radius: 1.5rem;
}

@media (min-width: 768px) {
    .tx-slide-card { min-height: 470px; }
}

.tx-slider-ready .tx-slide .tx-slide-copy > *,
.tx-slider-ready .tx-slide .tx-slide-actions,
.tx-slider-ready .tx-slide .tx-slide-visual {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s var(--tx-ease), transform 0.8s var(--tx-ease);
}

.tx-slider-ready .tx-slide .tx-slide-visual {
    transform: scale(0.94) translateY(10px);
}

.tx-slider-ready .tx-slide.is-active .tx-slide-copy > *,
.tx-slider-ready .tx-slide.is-active .tx-slide-actions,
.tx-slider-ready .tx-slide.is-active .tx-slide-visual {
    opacity: 1;
    transform: none;
}

.tx-slide.is-active .tx-slide-copy > :nth-child(1) { transition-delay: 0.30s; }
.tx-slide.is-active .tx-slide-copy > :nth-child(2) { transition-delay: 0.38s; }
.tx-slide.is-active .tx-slide-copy > :nth-child(3) { transition-delay: 0.46s; }
.tx-slide.is-active .tx-slide-copy > :nth-child(4) { transition-delay: 0.54s; }
.tx-slide.is-active .tx-slide-actions { transition-delay: 0.62s; }
.tx-slide.is-active .tx-slide-visual { transition-delay: 0.35s; }

/* product mock frames */
.tx-mock {
    position: relative;
    width: 100%;
    max-width: 24rem;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.08);
    transition: transform 0.6s var(--tx-ease);
}

.tx-mock:hover { transform: translateY(-4px) scale(1.02); }

.tx-mock--cardstra {
    color: #fff;
    background:
        radial-gradient(circle at 85% 110%, rgba(255, 107, 107, 0.45), transparent 55%),
        radial-gradient(circle at 0% 0%, rgba(0, 240, 255, 0.18), transparent 50%),
        linear-gradient(135deg, #10202A 0%, #0B151C 100%);
}

.tx-mock-frame {
    background: #fff;
}

.tx-mock::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.16) 50%, transparent 65%);
    transform: translateX(-100%);
    transition: transform 1s var(--tx-ease);
}

.tx-mock:hover::after { transform: translateX(100%); }

/* arrows */
.tx-arrow {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--tx-text);
    background: rgba(10, 18, 24, 0.85);
    border: 1px solid var(--tx-line-strong);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    transition: transform 0.35s var(--tx-ease), border-color 0.35s, box-shadow 0.35s, color 0.35s;
}

.tx-arrow:hover {
    color: #fff;
    border-color: rgba(255, 107, 107, 0.7);
    box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.12), 0 10px 30px rgba(255, 107, 107, 0.3);
    transform: scale(1.08);
}

.tx-slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.75rem;
}

@media (min-width: 768px) {
    .tx-slider .tx-arrow {
        position: absolute;
        top: calc(50% - 2.4rem);
        transform: translateY(-50%);
        z-index: 30;
    }

    .tx-slider .tx-arrow:hover { transform: translateY(-50%) scale(1.08); }
    .tx-slider #product-prev-btn { left: 0; }
    .tx-slider #product-next-btn { right: 0; }
}

/* dots (classes are set by the inline slider script) */
.theme-tech #product-dots {
    gap: 0.6rem;
}

.theme-tech #product-dots > * { margin: 0 !important; }

.theme-tech #product-dots button {
    position: relative;
    height: 8px;
    background: rgba(255, 255, 255, 0.22);
    transition: width 0.5s var(--tx-ease), background-color 0.3s, box-shadow 0.3s;
}

.theme-tech #product-dots button::after {
    content: '';
    position: absolute;
    inset: -18px -4px;
}

.theme-tech #product-dots button:hover { background: rgba(255, 255, 255, 0.45); }

.theme-tech #product-dots button.bg-accent-tech {
    width: 2.25rem;
    background: var(--tx-grad);
    box-shadow: 0 0 14px rgba(255, 107, 107, 0.55);
}

.tx-progress {
    width: min(240px, 60%);
    height: 2px;
    margin: 1.1rem auto 0;
    border-radius: 2px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
}

.tx-progress span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #FF6B6B, #00F0FF);
    transform-origin: left;
    transform: scaleX(0);
}

.tx-progress.is-running span {
    animation: tx-progress var(--tx-dur, 30s) linear forwards;
}

.tx-progress.is-paused span {
    animation-play-state: paused;
}

@keyframes tx-progress {
    to { transform: scaleX(1); }
}

/* ------------------------------------------------------------------ */
/* Clients + team                                                      */
/* ------------------------------------------------------------------ */
.tx-logo-tile {
    width: 100%;
    height: 8rem;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    background: linear-gradient(160deg, #FFFFFF, #E9EFF3);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.06), 0 10px 30px -12px rgba(0, 0, 0, 0.6);
    overflow: hidden;
}

.tx-logo-tile img {
    transition: transform 0.6s var(--tx-ease);
}

.tx-card:hover .tx-logo-tile img { transform: scale(1.06); }

.tx-avatar {
    position: relative;
    flex-shrink: 0;
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    padding: 3px;
}

.tx-avatar::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #FF6B6B, #FFC371, #00F0FF, #FF6B6B);
    animation: tx-spin 8s linear infinite;
}

.tx-avatar img {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--tx-surface-1);
}

@keyframes tx-spin {
    to { transform: rotate(360deg); }
}

.tx-social {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--tx-muted);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--tx-line);
    transition: color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.35s var(--tx-ease);
}

.tx-social:hover {
    color: #fff;
    border-color: rgba(0, 240, 255, 0.55);
    box-shadow: 0 0 18px rgba(0, 240, 255, 0.3);
    transform: translateY(-2px);
}

/* ------------------------------------------------------------------ */
/* Contact panel                                                       */
/* ------------------------------------------------------------------ */
.tx-cta-panel {
    overflow: hidden;
}

.tx-cta-panel .tx-cta-grid {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 100%, #000, transparent 75%);
    mask-image: radial-gradient(ellipse 70% 80% at 50% 100%, #000, transparent 75%);
}

.tx-cta-panel .tx-cta-orb {
    position: absolute;
    z-index: -1;
    left: 50%;
    bottom: -60%;
    width: 120%;
    height: 120%;
    margin-left: -60%;
    pointer-events: none;
    background: radial-gradient(ellipse at center, rgba(255, 107, 107, 0.22), rgba(255, 195, 113, 0.08) 35%, transparent 60%);
    animation: tx-pulse 9s ease-in-out infinite;
}

/* ------------------------------------------------------------------ */
/* Process modal                                                       */
/* ------------------------------------------------------------------ */
.theme-tech #process-modal {
    background: rgba(3, 6, 9, 0.72);
}

.tx-modal-panel {
    background:
        radial-gradient(circle at 100% 0%, rgba(255, 107, 107, 0.12), transparent 45%),
        radial-gradient(circle at 0% 100%, rgba(0, 240, 255, 0.08), transparent 45%),
        #0A1218;
    border: 1px solid var(--tx-line-strong);
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.7);
    transition: transform 0.45s var(--tx-ease), opacity 0.45s var(--tx-ease) !important;
}

.tx-close {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--tx-muted);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--tx-line);
    cursor: pointer;
    transition: color 0.3s, background-color 0.3s, transform 0.4s var(--tx-ease);
}

.tx-close:hover {
    color: #fff;
    background: var(--tx-red);
    transform: rotate(90deg);
}

.tx-step-num {
    position: absolute;
    right: 1rem;
    top: 0.75rem;
    z-index: -1;
    background: linear-gradient(180deg, rgba(255, 107, 107, 0.35), rgba(255, 107, 107, 0));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    user-select: none;
}

/* modal steps cascade in when opened */
#process-modal .tx-step {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.5s var(--tx-ease), transform 0.6s var(--tx-ease);
}

#process-modal.opacity-100 .tx-step {
    opacity: 1;
    transform: none;
}

#process-modal.opacity-100 .tx-step:nth-child(1) { transition-delay: 0.10s; }
#process-modal.opacity-100 .tx-step:nth-child(2) { transition-delay: 0.16s; }
#process-modal.opacity-100 .tx-step:nth-child(3) { transition-delay: 0.22s; }
#process-modal.opacity-100 .tx-step:nth-child(4) { transition-delay: 0.28s; }
#process-modal.opacity-100 .tx-step:nth-child(5) { transition-delay: 0.34s; }
#process-modal.opacity-100 .tx-step:nth-child(6) { transition-delay: 0.40s; }

/* ------------------------------------------------------------------ */
/* Shared navbar + footer (restyled for this page only)                */
/* ------------------------------------------------------------------ */
.theme-tech #navbar .glass-card,
.theme-tech #navbar .glass-card:hover {
    background: rgba(8, 14, 20, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    backdrop-filter: blur(16px) saturate(140%);
}

.theme-tech #navbar .dropdown > button {
    color: var(--tx-text);
    min-height: 44px;
}

.theme-tech #navbar .dropdown > button:hover {
    background: rgba(255, 255, 255, 0.06);
}

.theme-tech #navbar .text-primary-forest {
    color: var(--tx-text);
}

.theme-tech #navbar .dropdown > button .fa-leaf,
.theme-tech #mobile-menu .fa-leaf {
    color: var(--tx-cyan);
}

.theme-tech #navbar a:hover .text-primary-forest {
    color: var(--tx-amber);
}

.theme-tech #navbar .text-gray-500 {
    color: #94A3B1;
}

.theme-tech #navbar .dropdown-menu > div {
    background: rgba(10, 18, 24, 0.97);
    border-color: rgba(255, 255, 255, 0.09);
    --tw-ring-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}

.theme-tech #navbar a:hover > div:first-child {
    box-shadow: 0 0 18px rgba(255, 107, 107, 0.25);
}

.theme-tech #navbar .cta-gradient {
    background: var(--tx-grad);
    color: #3A0808;
    text-shadow: none;
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.35);
}

.theme-tech #mobile-menu-toggle {
    color: var(--tx-text);
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 1024px) {
    .theme-tech #mobile-menu-toggle { display: none; }
}

.theme-tech #mobile-menu,
.theme-tech #mobile-menu:hover {
    background: rgba(8, 14, 20, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.09);
}

.theme-tech #mobile-menu .border-gray-200 {
    border-color: rgba(255, 255, 255, 0.09);
}

.theme-tech footer {
    position: relative;
    background: #04070A;
}

.theme-tech footer::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 107, 0.6), rgba(0, 240, 255, 0.6), transparent);
}

.theme-tech footer .text-gray-500,
.theme-tech footer .text-gray-400 {
    color: #8E9BA7;
}

/* ------------------------------------------------------------------ */
/* Reduced motion                                                      */
/* ------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
    .tx-orb,
    .tx-hero-scan,
    .tx-hero-glow,
    .tx-grad-text,
    .tx-pulse-dot::after,
    .tx-scroll::before,
    .tx-avatar::before,
    .tx-cta-panel .tx-cta-orb,
    .theme-tech .cta-gradient-tech::after,
    .theme-tech .tx-hero .hero-bg-image {
        animation: none !important;
    }

    .tx-hero-scan { display: none; }
    .theme-tech .tx-hero .hero-bg-image { transform: none; }

    .tx-in {
        animation: none;
        opacity: 1;
        transform: none;
        filter: none;
    }

    .tx-card,
    .tx-card.is-tilting,
    .tx-sub,
    .tx-mock,
    .tx-head-line,
    .theme-tech #product-slider-track,
    .tx-slider-ready .tx-slide .tx-slide-copy > *,
    .tx-slider-ready .tx-slide .tx-slide-actions,
    .tx-slider-ready .tx-slide .tx-slide-visual,
    #process-modal .tx-step {
        transition: none !important;
    }

    .tx-card:hover { --lift: 0px; }
    .tx-head-line { transform: scaleX(1); }

    .tx-slider-ready .tx-slide .tx-slide-copy > *,
    .tx-slider-ready .tx-slide .tx-slide-actions,
    .tx-slider-ready .tx-slide .tx-slide-visual,
    #process-modal .tx-step {
        opacity: 1;
        transform: none;
    }

    .tx-progress { display: none; }
}
